PHP_UML
[ class tree: PHP_UML ] [ index: PHP_UML ] [ all elements ]

Class: PHP_UML_Output_Exporter

Source Location: /PHP_UML-1.6.1/UML/Output/Exporter.php

Class Overview


This class is a set of various data/switches that can be used by the implementations of the exporter


Author(s):

Variables

Methods


Child classes:

PHP_UML_Output_ExporterAPI
This is the exportation class relying on the API (= on the full hierarchy of metaclasses stored in the model). Note that another way to export a model would be to use ExporterXSL, which is based on an XSL transformation of XMI.
PHP_UML_Output_ExporterXSL
An exportation class, that relies on XSL transformations.

Inherited Variables

Inherited Methods


Class Details

[line 26]
This class is a set of various data/switches that can be used by the implementations of the exporter


[ Top ]


Class Variables

$structure =

[line 34]

A UML model
  • Access: protected



[ Top ]



Method Detail

__construct (Constructor)   [line 41]

PHP_UML_Output_Exporter __construct( string $format)

Constructor
  • Access: public

Overridden in child classes as:

PHP_UML_Output_ExporterXSL::__construct()

Parameters:

string   $format     Usual format name

[ Top ]

export   [line 61]

void export( string $outDir)

Export the current model to a particular output format.
  • Abstract:
  • Access: public

Overridden in child classes as:

PHP_UML_Output_ExporterAPI::export()
PHP_UML_Output_Php_Exporter::export()
PHP_UML_Output_Xmi_Exporter::export()
PHP_UML_Output_HtmlNew_Exporter::export()
PHP_UML_Output_ExporterXSL::export()
Generates output data by applying a transformation on the XMI stored in the property $xmi

Parameters:

string   $outDir     Directory where the resulting output must be stored

[ Top ]

getInstance   [line 71]

PHP_UML_Output_Exporter getInstance( string $format)

Factory method to retrieve an implementation of an exporter, given the "common name" of a format.

Parameters:

string   $format     Common name of the desired export format

[ Top ]

setModel   [line 50]

void setModel( PHP_UML_Metamodel_Superstructure $model)

Setter for the model.
  • Access: public

Parameters:

PHP_UML_Metamodel_Superstructure   $model     A UML model

[ Top ]


Documentation generated on Sat, 12 May 2012 19:30:13 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.