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

Class: PHP_UML_XMI_BuilderImpl1

Source Location: /PHP_UML-1.0.1/UML/XMI/BuilderImpl1.php

Class Overview

PHP_UML_XMI_AbstractBuilder
   |
   --PHP_UML_XMI_BuilderImpl1

Implementation class to create XMI in version 1


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: PHP_UML_XMI_AbstractBuilder

PHP_UML_XMI_AbstractBuilder::__construct()
Constructor
PHP_UML_XMI_AbstractBuilder::factory()
Factory method. Retrieves a proper implementation class, matching the XMI version.
PHP_UML_XMI_AbstractBuilder::getAllComponents()
Get all components, with its provided classes PHP_UML considers each logical package as a component, and each owned class as a provided class.
PHP_UML_XMI_AbstractBuilder::getAllPackages()
Get all packages, recursively, with all the objects they contain Initially called by PHP_UML->generateXMI() on the root package
PHP_UML_XMI_AbstractBuilder::getOwnedTypes()
Get the different types owned by package
PHP_UML_XMI_AbstractBuilder::getUID()
Generates an ID for an element. A partial identifier can be provided (used for classes and their idrefs)
PHP_UML_XMI_AbstractBuilder::getXmlHeader()
Gets an XML header for the XMI file

Class Details

[line 28]
Implementation class to create XMI in version 1

See the interface PHP_UML_XMI_Builder for the comments



[ Top ]


Method Detail

getArtifact   [line 312]

void getArtifact( PHP_UML_Metamodel_File $file, [ &$mf = array()])

  • Access: public

Parameters:

PHP_UML_Metamodel_File   $file     
   &$mf     

[ Top ]

getClass   [line 129]

void getClass( PHP_UML_Metamodel_Class &$class)

  • Access: public

Parameters:

PHP_UML_Metamodel_Class   &$class     

[ Top ]

getComment   [line 333]

void getComment( PHP_UML_Metamodel_Stereotype &$s, [ $annotatedElement = ''])

  • Access: public

Parameters:

PHP_UML_Metamodel_Stereotype   &$s     
   $annotatedElement     

[ Top ]

getComponentClose   [line 328]

void getComponentClose( )

  • Access: public

[ Top ]

getComponentOpen   [line 323]

void getComponentOpen( PHP_UML_Metamodel_Package $package, $provided, $required)

  • Access: public

Parameters:

PHP_UML_Metamodel_Package   $package     
array   $provided     
array   $required     

[ Top ]

getDatatype   [line 122]

void getDatatype( PHP_UML_Metamodel_Type $type)

  • Access: public

Parameters:

PHP_UML_Metamodel_Type   $type     

[ Top ]

getGeneralizations   [line 182]

void getGeneralizations( PHP_UML_Metamodel_Type &$client)

  • Access: public

Parameters:

PHP_UML_Metamodel_Type   &$client     

[ Top ]

getInterface   [line 158]

void getInterface( PHP_UML_Metamodel_Interface &$interface)

  • Access: public

Parameters:

PHP_UML_Metamodel_Interface   &$interface     

[ Top ]

getMetadata   [line 81]

void getMetadata( PHP_UML_Metamodel_Tag $tag)

  • Access: public

Parameters:

PHP_UML_Metamodel_Tag   $tag     

[ Top ]

getModelClose   [line 86]

void getModelClose( )

  • Access: public

[ Top ]

getModelOpen   [line 54]

void getModelOpen( PHP_UML_Metamodel_Package &$model)

  • Access: public

Parameters:

PHP_UML_Metamodel_Package   &$model     

[ Top ]

getNamespaceClose   [line 106]

void getNamespaceClose( )

  • Access: public

[ Top ]

getNamespaceOpen   [line 96]

void getNamespaceOpen( )

  • Access: public

[ Top ]

getOperation   [line 255]

void getOperation( PHP_UML_Metamodel_Operation &$operation)

  • Access: public

Parameters:

PHP_UML_Metamodel_Operation   &$operation     

[ Top ]

getPackageClose   [line 101]

void getPackageClose( )

  • Access: public

[ Top ]

getPackageOpen   [line 91]

void getPackageOpen( PHP_UML_Metamodel_Package $package)

  • Access: public

Parameters:

PHP_UML_Metamodel_Package   $package     

[ Top ]

getParameter   [line 282]

void getParameter( PHP_UML_Metamodel_Parameter &$parameter)

  • Access: public

Parameters:

PHP_UML_Metamodel_Parameter   &$parameter     

[ Top ]

getParameterType   [line 291]

void getParameterType( PHP_UML_Metamodel_TypedElement &$parameter)

  • Access: public

Parameters:

PHP_UML_Metamodel_TypedElement   &$parameter     

[ Top ]

getProfile   [line 369]

void getProfile( )

  • Access: public

[ Top ]

getProperty   [line 230]

void getProperty( PHP_UML_Metamodel_Property &$property)

  • Access: public

Parameters:

PHP_UML_Metamodel_Property   &$property     

[ Top ]

getRealizations   [line 209]

void getRealizations( PHP_UML_Metamodel_Class &$client)

  • Access: public

Parameters:

PHP_UML_Metamodel_Class   &$client     

[ Top ]

getStereotypeInstance   [line 76]

void getStereotypeInstance( PHP_UML_Metamodel_Stereotype $s)

  • Access: public

Parameters:

PHP_UML_Metamodel_Stereotype   $s     

[ Top ]

getStereotypes   [line 60]

void getStereotypes( )

  • Access: public

[ Top ]

getStructuralFeatureType   [line 380]

string getStructuralFeatureType( PHP_UML_Metamodel_TypedElement &$element)

Get the structural type of an element (XMI 1.x)
  • Return: XMI code
  • Access: protected

Parameters:

PHP_UML_TypedElement   &$element     Element

[ Top ]

getSubsystemClose   [line 117]

void getSubsystemClose( )

  • Access: public

[ Top ]

getSubsystemOpen   [line 111]

void getSubsystemOpen( PHP_UML_Metamodel_Package $package)

  • Access: public

Parameters:

PHP_UML_Metamodel_Package   $package     

[ Top ]

getTagDefinition   [line 354]

void getTagDefinition( $name)

  • Access: public

Parameters:

   $name     

[ Top ]

getTaggedValue   [line 342]

void getTaggedValue( $value, $tag)

  • Access: public

Parameters:

   $value     
   $tag     

[ Top ]

getXmiHeaderClose   [line 49]

void getXmiHeaderClose( )

  • Access: public

[ Top ]

getXmiHeaderOpen   [line 36]

void getXmiHeaderOpen( )

  • Access: public

[ Top ]


Documentation generated on Thu, 27 Aug 2009 17:30:04 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.