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

Class: PHP_UML_Output_Exporter

Source Location: /PHP_UML-1.6.2/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_ExporterXSL
An exportation class, that relies on XSL transformations.
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.

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_ExporterXSL::export()
Generates output data by applying a transformation on the XMI stored in the property $xmi
PHP_UML_Output_ExporterAPI::export()
PHP_UML_Output_Xmi_Exporter::export()
PHP_UML_Output_HtmlNew_Exporter::export()
PHP_UML_Output_Php_Exporter::export()

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 Mon, 11 Mar 2019 16:01:23 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.