Converter to aXLang (axl). More...
Public Member Functions | |
String | abstractConnectionInstanceToAXL (AbstractConnectionInstance theGlobalConnectionInstance, String sIndent, Object...arrAdditional) |
Converts global connection instance to axl. | |
String | abstractDataLinktoAXL (AbstractDataLink axlDataElementLink, String sIndent) |
Converts a data element link to aXLang. | |
AXLWriter () | |
Constructor setting the operation parameters. | |
String | toAXL (OperationInstance theGlobalOperationInstance, String sIndent, Object...arrAdditional) |
Converts global operation instance to axl. | |
String | toAXL (SignalInstance theGlobalSignalInstance, String sIndent, Object...arrAdditional) |
Converts global signal instance to axl. | |
String | toAXL (FunctionInstance theGlobalFunctionInstance, String sIndent, Object...arrAdditional) |
Converts global function instance to axl. | |
String | toAXL (StorageInstance theGlobalStorageInstance, String sIndent, Object...arrAdditional) |
Converts global storage instance to axl. | |
String | toAXL (DelegationUpInstance theGlobalDelegationInstance, String sIndent, Object...arrAdditional) |
Converts global delegation instance to axl. | |
String | toAXL (DelegationDownInstance theGlobalDelegationInstance, String sIndent, Object...arrAdditional) |
Converts global delegation instance to axl. | |
String | toAXL (DelegationInstance theGlobalDelegationInstance, String sIndent, Object...arrAdditional) |
Converts global delegation instance to axl. | |
String | toAXL (ConnectionInstance theGlobalConnectionInstance, String sIndent, Object...arrAdditional) |
Converts global subcomponent instance to axl. | |
String | toAXL (BooleanConstant theBooleanConstant, String sIndent, Object...arrAdditional) |
Converts boolean constant to axl. | |
String | toAXL (SubComponentInstance theGlobalSubComponentInstance, String sIndent, Object...arrAdditional) |
Converts global subcomponent instance to axl. | |
String | toAXL (PortInstance theGlobalPortInstance, String sIndent, Object...arrAdditional) |
Converts global port instance to axl. | |
String | toAXL (ComponentInstance theGlobalComponentInstance, String sIndent, Object...arrAdditional) |
Converts global component instance to axl. | |
String | toAXL (AspectRelationReplace theReplaceAspectRelation, String sIndent, Object...arrAdditional) |
Converts replace aspect relation to axl. | |
String | toAXL (AspectRelationInner theInnerAspectRelation, String sIndent, Object...arrAdditional) |
Converts inner aspect relation to axl. | |
String | toAXL (AspectRelationIdentity theIdentityAspectRelation, String sIndent, Object...arrAdditional) |
Converts identity aspect relation to axl. | |
String | toAXL (AspectRelationCopy theCopyAspectRelation, String sIndent, Object...arrAdditional) |
Converts copy aspect relation to axl. | |
String | toAXL (AspectMapping theAspectMapping, String sIndent, Object...arrAdditional) |
Converts aspect mapping to axl. | |
String | toAXL (Activation theActivation, String sIndent, Object...arrAdditional) |
Converts activation to aXLang. | |
String | toAXL (ActivityAttribute theActivityAttribute, String sIndent, Object...arrAdditional) |
Converts activity attribute to aXLang. | |
String | toAXL (AspectComposition theAspectComposition, String sIndent, Object...arrAdditional) |
Converts aspect composition to axl. | |
String | toAXL (DelegationDown axlDownDelegation, String sIndent, Object...arrAdditional) |
Converts a down delegation to aXLang. | |
String | toAXL (TransactionModel theTransactionModel, String sIndent, Object...arrAdditional) |
Converts transaction model to aXLang. | |
String | toAXL (Con2ConLink theCon2ConLink, String sIndent, Object...arrAdditional) |
Converts connection to hardware connection link to axl. | |
String | toAXL (P2PLink theP2PLink, String sIndent, Object...arrAdditional) |
Converts port to hardware port link to axl. | |
String | toAXL (SC2SCLink theSC2SCLink, String sIndent, Object...arrAdditional) |
Converts component to hardware component link to axl. | |
String | toAXL (A2RMapping theA2RMapping, String sIndent, Object...arrAdditional) |
Converts application to hardware mapping to axl. | |
String | toAXL (Feature2ArchitectureLink f2aLink, String sIndent, Object...arrAdditional) |
Converts feature to component link to axl. | |
String | toAXL (F2RMapping theF2RMapping, String sIndent, Object...arrAdditional) |
Converts feature to application mapping to axl. | |
String | toAXL (F2AMapping theF2AMapping, String sIndent, Object...arrAdditional) |
Converts feature to application mapping to axl. | |
String | toAXL (Bus theHWBus, String sIndent, Object...arrAdditional) |
Converts hardware bus to axl. | |
String | toAXL (Signal theSignal, String sIndent, Object...arrAdditional) |
Converts signal to aXLang. | |
String | toAXL (Parameter theParameter, String sIndent, Object...arrAdditional) |
Converts parameter to aXLang. | |
String | toAXL (Operation theOperation, String sIndent, Object...arrAdditional) |
Converts operation to aXLang. | |
String | toAXL (WritePort theWritePort, String sIndent, Object...arrAdditional) |
Converts write port to axl. | |
String | toAXL (DoStatement theDoStatement, String sIndent, Object...arrAdditional) |
Converts do statement to axl. | |
String | toAXL (WhileStatement theWhileStatement, String sIndent, Object...arrAdditional) |
Converts while statement to axl. | |
String | toAXL (ForStatement theForStatement, String sIndent, Object...arrAdditional) |
Converts for statement to axl. | |
String | toAXL (IfStatement theIfStatement, String sIndent, Object...arrAdditional) |
Converts if statement to axl. | |
String | toAXL (PrefixExpression thePrefixExpression, String sIndent, Object...arrAdditional) |
Converts prefix expression to axl. | |
String | toAXL (PostfixExpression thePostfixExpression, String sIndent, Object...arrAdditional) |
Converts postfix expression to axl. | |
String | toAXL (InfixExpression theInfixExpression, String sIndent, Object...arrAdditional) |
Converts infix expression to axl. | |
String | toAXL (ReadPort theReadPort, String sIndent, Object...arrAdditional) |
Converts read port to axl. | |
String | toAXL (BracketsExpression theBracketsExpression, String sIndent, Object...arrAdditional) |
Converts brackets expression to axl. | |
String | toAXL (VariableExpression theVariableExpression, String sIndent, Object...arrAdditional) |
Converts variable expression to axl. | |
String | toAXL (NullConstant theNullConstant, String sIndent, Object...arrAdditional) |
Converts null constant to axl. | |
String | toAXL (IntegerConstant theIntegerConstant, String sIndent, Object...arrAdditional) |
Converts integer constant to axl. | |
String | toAXL (BusDelegation axlBusDelegation, String sIndent, Object...arrAdditional) |
String | toAXL (Assignment theAssignment, String sIndent, Object...arrAdditional) |
Converts assignment to axl. | |
String | toAXL (OperationCallExpression axlElement, String sIndent, Object...arrAdditional) |
Converts operation call expression to axl. | |
String | toAXL (ReturnStatement theReturnStatement, String sIndent, Object...arrAdditional) |
Converts return statement to axl. | |
String | toAXL (OperationCall theOperationCall, String sIndent, Object...arrAdditional) |
Converts operation call to axl. | |
String | toAXL (Execute theExecute, String sIndent, Object...arrAdditional) |
Converts executable behavior to aXLang. | |
String | toAXL (Transaction theTransaction, String sIndent, Object...arrAdditional) |
Converts transaction to aXLang. | |
String | toAXL (LocalFunctionInstance theLocalFunctionInstance, String sIndent, Object...arrAdditional) |
Converts local function instance to aXLang. | |
String | toAXL (Behavior theBehavior, String sIndent, Object...arrAdditional) |
Converts behavior to aXLang. | |
String | toAXL (StorageRWAccess theStorageRWAccess, String sIndent, Object...arrAdditional) |
Converts storage rw access to aXLang. | |
String | toAXL (PortRWAccess thePortRWAccess, String sIndent, Object...arrAdditional) |
Converts port rw access to aXLang. | |
String | toAXL (Function theFunction, String sIndent, Object...arrAdditional) |
Converts function to aXLang. | |
String | toAXL (Storage axlStorage, String sIndent, Object...arrAdditional) |
Converts storage to aXLang. | |
String | toAXL (FunctionLink theFunctionLink, String sIndent, Object...arrAdditional) |
Converts a function link to aXLang. | |
String | toAXL (StorageLink theStorageLink, String sIndent, Object...arrAdditional) |
Converts a storage link to aXLang. | |
String | toAXL (DelegationUpDataLink axlDataElementLink, String sIndent, Object...arrAdditional) |
String | toAXL (DelegationDownDataLink axlDataElementLink, String sIndent, Object...arrAdditional) |
String | toAXL (ConnectionDataLink axlDataElementLink, String sIndent, Object...arrAdditional) |
String | toAXL (CardinalityAssignment theCardinalityAssignment, String sIndent, Object...arrAdditional) |
Converts cardinality assignment to axl. | |
String | toAXL (ResourceModel theResourceModel, String sIndent, Object...arrAdditional) |
Converts application model to aXLang. | |
String | toAXL (BusConnection axlBusConnection, String sIndent, Object...arrAdditional) |
String | toAXL (Activity theActivity, String sIndent, Object...arrAdditional) |
Converts activity to aXLang. | |
String | toAXL (Block theBlock, String sIndent, Object...arrAdditional) |
Converts a block to axl. | |
String | toAXL (Connection axlConnection, String sIndent, Object...arrAdditional) |
Converts a horizontal connection to aXLang. | |
String | toAXL (SubComponent theSubComponent, String sIndent, Object...arrAdditional) |
Converts subcomponent to aXLang. | |
String | toAXL (Port thePort, String sIndent, Object...arrAdditional) |
Converts port to aXLang. | |
String | toAXL (XORComponent theXORComponent, String sIndent, Object...arrAdditional) |
Converts xor component to aXLang. | |
String | toAXL (Component theComponent, String sIndent, Object...arrAdditional) |
Converts component to aXLang. | |
String | toAXL (FeatureModel theFeatureModel, String sIndent, Object...arrAdditional) |
Converts feature model to aXLang. | |
String | toAXL (DelegationUp axlUpDelegation, String sIndent, Object...arrAdditional) |
Converts an up delegation to aXLang. | |
String | toAXL (ApplicationModel theApplicationModel, String sIndent, Object...arrAdditional) |
Converts application model to aXLang. | |
String | toAXL (Configuration theConfiguration, String sIndent, Object...arrAdditional) |
Converts configuration to axl. | |
String | toAXL (Feature theFeature, String sIndent, Object...arrAdditional) |
Converts feature to aXLang. | |
String | toAXL (Model theModel, String sIndent, Object...arrAdditional) |
Converts model to aXLang. | |
String | toAXL (AXLangAttribute axlAttribute, String sIndent, Object...arrAdditional) |
Converts attribute to aXLang. | |
String | toAXLOrInclude (IAXLangElement axlElement, String sIndent, Object...arrAdditional) |
Returns aXLang representation valid for every element. | |
boolean | writeFile (String theFilename, IAXLangElement theElement) |
Writes the given file and returns success/failure. | |
Static Public Attributes | |
static final String | ID_IN_ELEMENT = "axlin" |
identifier of the input element | |
static final String | ID_IN_FILE = "axlfile" |
identifier of the output file | |
static final String | PARAM_FOR_ID_CHECK = "wholefilescontent" |
static final String | PARAM_OUT_WRITER = "stringbuildercontent" |
identifier of the output content | |
Protected Member Functions | |
Map< String, Object > | executeConcreteOperation (Map< String, Object > theInputParameters) |
Writes an element. | |
Private Member Functions | |
String | a2rLinkToAxl (A2RLink a2rLink, String sIndent) |
String | correctPathString (String thePath) |
Corrects the path (replaces '\' with '/'). | |
String | findFileName (IAXLangElement theElement) |
Returns filename of the given element. | |
String | findIncludedFileName (IAXLangElement element) |
Returns included filename of the given element. | |
String | getAttributeBlock (IAXLangElement theElement) |
Returns a string representation of path in path notation. | |
String | getIncludeFilename (IAXLangElement axlElement) |
Returns filename if the element has to be included, null otherwise. | |
Map< String, Object > | handleFileOutputStreams (StringBuilder sbAXLText, IAXLangElement theElement) throws FileNotFoundException |
Writes directly to the file output streams of the session that are not opened inside the editor. | |
String | toAXL (AbstractConnection axlConnection, String sIndent, String sourceSubComponentID, String sourcePortID, String targetSubComponentID, String targetPortID) |
Converts an abstract connection to aXLang (for horizontal connections, delegations down and up. | |
String | toAXL (IGlobalInstance theGlobalInstance, String sIndent, String sType, Object...arrAdditional) |
Converts global instance to axl. | |
String | toAXL (Cardinality theCardinality) |
Returns axl representation of cardinality. | |
String | toAXL (AspectRelation theAspectRelation, String sIndent, String sType) |
Converts aspect relation to axl. | |
String | toAXL (ComposedExpression theComposedExpression, String sLeft, String sRight, String sSpace) |
Converts composed expression to axl. | |
Private Attributes | |
String | sOldModelFilename = null |
if the outputfile is another than the inputfile (model) , the oldmodelfilename has to be saved | |
Static Private Attributes | |
static final String | FORMAT_BLOCK = "{0}{1} '{'\n{2}{0}'}'\n" |
block formatting | |
static final String | FORMAT_LINE = "{0}{1};\n" |
line formatting | |
static final String | INDENT = "\t" |
indentation for pretty formatting | |
static final String | PATH_SEPARATOR = "." |
separator symbol for the syntactic representation of element paths |
Converter to aXLang (axl).
All toAXL
methods are public because of the call via reflection API in toAXLOrInclude(IAXLangElement, String).
There has to be a toAXL
method for all elements, for their class hierarchy is not recognized in the reflection API. Example: toAXL(XORComponent, String)
This is clearer than automatically changing the element type as in version 0.8.0, because new elements have to be taken care of explicitly.
de.fraunhofer.isst.axbench.operations.AXLWriter.AXLWriter | ( | ) |
Constructor setting the operation parameters.
Input parameters:
String de.fraunhofer.isst.axbench.operations.AXLWriter.a2rLinkToAxl | ( | A2RLink | a2rLink, | |
String | sIndent | |||
) | [private] |
String de.fraunhofer.isst.axbench.operations.AXLWriter.abstractConnectionInstanceToAXL | ( | AbstractConnectionInstance | theGlobalConnectionInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global connection instance to axl.
theGlobalConnectionInstance | aXLang global connection instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.abstractDataLinktoAXL | ( | AbstractDataLink | axlDataElementLink, | |
String | sIndent | |||
) |
Converts a data element link to aXLang.
axlDataElementLink | aXLang data element link | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.correctPathString | ( | String | thePath | ) | [private] |
Corrects the path (replaces '\' with '/').
thePath | path to correct |
Map<String, Object> de.fraunhofer.isst.axbench.operations.AXLWriter.executeConcreteOperation | ( | Map< String, Object > | theInputParameters | ) | [protected] |
Writes an element.
theInputParameters | map of the input parameters (empty map allowed) |
String de.fraunhofer.isst.axbench.operations.AXLWriter.findFileName | ( | IAXLangElement | theElement | ) | [private] |
Returns filename of the given element.
If the element does not contain a filename, it's parent(s) filenames are used.
theElement | element to get filename for |
filename | of parent(s) if element does not have one | |
null | if no filename was found |
String de.fraunhofer.isst.axbench.operations.AXLWriter.findIncludedFileName | ( | IAXLangElement | element | ) | [private] |
Returns included filename of the given element.
If the element does not contain an included filename, it's parent(s) included filenames are used.
theElement | element to get included filename for |
included | filename of parent(s) if element does not have one | |
null | if no included filename was found |
String de.fraunhofer.isst.axbench.operations.AXLWriter.getAttributeBlock | ( | IAXLangElement | theElement | ) | [private] |
Returns a string representation of path in path notation.
thePath | path |
theElement | aXLang element |
String de.fraunhofer.isst.axbench.operations.AXLWriter.getIncludeFilename | ( | IAXLangElement | axlElement | ) | [private] |
Returns filename if the element has to be included, null otherwise.
axlElement | aXLang element |
null | otherwise |
Map<String, Object> de.fraunhofer.isst.axbench.operations.AXLWriter.handleFileOutputStreams | ( | StringBuilder | sbAXLText, | |
IAXLangElement | theElement | |||
) | throws FileNotFoundException [private] |
Writes directly to the file output streams of the session that are not opened inside the editor.
sbAXLText | aXLang representation of element | |
theElement | element to write |
FileNotFoundException | if file was not found |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ConnectionInstance | theGlobalConnectionInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global subcomponent instance to axl.
theGlobalConnectionInstance | aXLang global connection instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | DelegationInstance | theGlobalDelegationInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global delegation instance to axl.
theGlobalDelegationInstance | aXLang global delegation instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | SubComponentInstance | theGlobalSubComponentInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global subcomponent instance to axl.
theGlobalSubComponentInstance | aXLang global subcomponent instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | PortInstance | theGlobalPortInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global port instance to axl.
theGlobalPortInstance | aXLang global port instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ComponentInstance | theGlobalComponentInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global component instance to axl.
theGlobalComponentInstance | aXLang global component instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | IGlobalInstance | theGlobalInstance, | |
String | sIndent, | |||
String | sType, | |||
Object... | arrAdditional | |||
) | [private] |
Converts global instance to axl.
theGlobalInstance | aXLang global instance | |
sIndent | text indentation | |
sType | instance type |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AspectRelationReplace | theReplaceAspectRelation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts replace aspect relation to axl.
theReplaceAspectRelation | aXLang replace aspect relation | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AspectRelationInner | theInnerAspectRelation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts inner aspect relation to axl.
theInnerAspectRelation | aXLang inner aspect relation | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AspectRelationIdentity | theIdentityAspectRelation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts identity aspect relation to axl.
theIdentityAspectRelation | aXLang identity aspect relation | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AspectRelationCopy | theCopyAspectRelation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts copy aspect relation to axl.
theCopyAspectRelation | aXLang copy aspect relation | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AspectRelation | theAspectRelation, | |
String | sIndent, | |||
String | sType | |||
) | [private] |
Converts aspect relation to axl.
theAspectRelation | aXLang aspect relation | |
sIndent | text indentation | |
sType | relation type |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AspectMapping | theAspectMapping, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts aspect mapping to axl.
theAspectMapping | aXLang aspect mapping | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Cardinality | theCardinality | ) | [private] |
Returns axl representation of cardinality.
cardinality |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Execute | theExecute, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts executable behavior to aXLang.
theExecute | aXLang executable behavior | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Activation | theActivation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts activation to aXLang.
theActivation | aXLang activation | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ActivityAttribute | theActivityAttribute, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts activity attribute to aXLang.
theActivityAttribute | aXLang activity attribute | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Activity | theActivity, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts activity to aXLang.
theActivity | aXLang activity | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Transaction | theTransaction, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts transaction to aXLang.
axlElement | aXLang transaction | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | TransactionModel | theTransactionModel, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts transaction model to aXLang.
axlElement | aXLang transaction model | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Con2ConLink | theCon2ConLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts connection to hardware connection link to axl.
theCon2ConLink | aXLang connection to hardware connection | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | P2PLink | theP2PLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts port to hardware port link to axl.
theP2PLink | aXLang port to hardware port link | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | PortRWAccess | thePortRWAccess, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts port rw access to aXLang.
thePortRWAccess | aXLang port rw access | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | SC2SCLink | theSC2SCLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts component to hardware component link to axl.
theSC2SCLink | aXLang component to hardware component link | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | A2RMapping | theA2RMapping, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts application to hardware mapping to axl.
theA2RMapping | aXLang application to hardware mapping | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Feature2ArchitectureLink | f2aLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts feature to component link to axl.
theF2SCLink | aXLang feature to component link | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | DelegationUpInstance | theGlobalDelegationInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global delegation instance to axl.
theGlobalDelegationInstance | aXLang global delegation instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | F2AMapping | theF2AMapping, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts feature to application mapping to axl.
theF2AMapping | aXLang feature to application mapping | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Bus | theHWBus, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts hardware bus to axl.
theHWBus | aXLang hardware bus | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Signal | theSignal, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts signal to aXLang.
theSignal | aXLang signal | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Parameter | theParameter, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts parameter to aXLang.
theParameter | aXLang parameter | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Operation | theOperation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts operation to aXLang.
theOperation | aXLang operation | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | WritePort | theWritePort, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts write port to axl.
theWritePort | aXLang write port | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | DoStatement | theDoStatement, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts do statement to axl.
theDoStatement | aXLang do statement | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | StorageInstance | theGlobalStorageInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global storage instance to axl.
theGlobalStorageInstance | aXLang global storage instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ForStatement | theForStatement, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts for statement to axl.
theForStatement | aXLang for statement | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | IfStatement | theIfStatement, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts if statement to axl.
theIfStatement | aXLang if statement | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ComposedExpression | theComposedExpression, | |
String | sLeft, | |||
String | sRight, | |||
String | sSpace | |||
) | [private] |
Converts composed expression to axl.
theComposedExpression | aXLang infix expression | |
sLeft | left expression | |
sRight | right expression | |
sSpace | space between expressions and operator |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | PrefixExpression | thePrefixExpression, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts prefix expression to axl.
thePrefixExpression | aXLang prefix expression | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | PostfixExpression | thePostfixExpression, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts postfix expression to axl.
thePostfixExpression | aXLang postfix expression | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | InfixExpression | theInfixExpression, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts infix expression to axl.
theInfixExpression | aXLang infix expression | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ReadPort | theReadPort, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts read port to axl.
theReadPort | aXLang read port | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | BracketsExpression | theBracketsExpression, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts brackets expression to axl.
theBracketsExpression | aXLang brackets expression | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | VariableExpression | theVariableExpression, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts variable expression to axl.
theVariableExpression | aXLang variable expression | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | NullConstant | theNullConstant, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts null constant to axl.
theNullConstant | aXLang null constant | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | IntegerConstant | theIntegerConstant, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts integer constant to axl.
theIntegerConstant | aXLang integer constant | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | BooleanConstant | theBooleanConstant, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts boolean constant to axl.
theBooleanConstant | aXLang boolean constant | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Assignment | theAssignment, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts assignment to axl.
theAssignment | aXLang assignment | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | OperationCallExpression | axlElement, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts operation call expression to axl.
axlElement | aXLang element | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ReturnStatement | theReturnStatement, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts return statement to axl.
theReturnStatement | aXLang return statement | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | OperationCall | theOperationCall, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts operation call to axl.
theOperationCall | aXLang operation call | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Block | theBlock, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts a block to axl.
theBlock | aXLang block | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | SubComponent | theSubComponent, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts subcomponent to aXLang.
theSubComponent | aXLang subcomponent | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | LocalFunctionInstance | theLocalFunctionInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts local function instance to aXLang.
theLocalFunctionInstance | aXLang local function instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Behavior | theBehavior, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts behavior to aXLang.
theBehavior | aXLang behavior | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | StorageRWAccess | theStorageRWAccess, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts storage rw access to aXLang.
theStorageRWAccess | aXLang storage rw access | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | XORComponent | theXORComponent, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts xor component to aXLang.
theXORComponent | aXLang xor component | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Component | theComponent, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts component to aXLang.
theComponent | aXLang component | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Storage | axlStorage, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts storage to aXLang.
axlStorage | aXLang storage | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | FunctionLink | theFunctionLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts a function link to aXLang.
theFunctionLink | the function link | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | StorageLink | theStorageLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts a storage link to aXLang.
theStorageLink | the storage link | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | DelegationUpDataLink | axlDataElementLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | WhileStatement | theWhileStatement, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts while statement to axl.
theWhileStatement | aXLang while statement | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ConnectionDataLink | axlDataElementLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ApplicationModel | theApplicationModel, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts application model to aXLang.
theApplicationModel | aXLang application model | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | BusDelegation | axlBusDelegation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | BusConnection | axlBusConnection, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | DelegationUp | axlUpDelegation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts an up delegation to aXLang.
axlUpDelegation | aXLang up delegation | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | DelegationDown | axlDownDelegation, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts a down delegation to aXLang.
axlDownDelegation | aXLang down delegation | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Connection | axlConnection, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts a horizontal connection to aXLang.
axlConnection | aXLang connection | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AbstractConnection | axlConnection, | |
String | sIndent, | |||
String | sourceSubComponentID, | |||
String | sourcePortID, | |||
String | targetSubComponentID, | |||
String | targetPortID | |||
) | [private] |
Converts an abstract connection to aXLang (for horizontal connections, delegations down and up.
axlConnection | the connection | |
sourceSubComponentID | the identifier of the source subcomponent if it exists, else 'this' | |
sourcePortID | the identifier of the source port | |
targetSubComponentID | the identifier of the target subcomponent if it exists, else 'this' | |
targetPortID | the identifier of the target port | |
sIndent | indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Model | theModel, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts model to aXLang.
theModel | aXLang model | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Port | thePort, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts port to aXLang.
thePort | aXLang port | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | F2RMapping | theF2RMapping, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts feature to application mapping to axl.
theF2AMapping | aXLang feature to application mapping | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Function | theFunction, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts function to aXLang.
theFunction | aXLang function | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | CardinalityAssignment | theCardinalityAssignment, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts cardinality assignment to axl.
theCardinalityAssignment | aXLang cardinality assignment | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | DelegationDownDataLink | axlDataElementLink, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | OperationInstance | theGlobalOperationInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global operation instance to axl.
theGlobalOperationInstance | aXLang global operation instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Configuration | theConfiguration, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts configuration to axl.
theConfiguration | aXLang configuration | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | Feature | theFeature, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts feature to aXLang.
theFeature | aXLang feature | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | FeatureModel | theFeatureModel, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts feature model to aXLang.
theFeatureModel | aXLang feature model | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AXLangAttribute | axlAttribute, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts attribute to aXLang.
axlElement | aXLang element | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | AspectComposition | theAspectComposition, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts aspect composition to axl.
theAspectComposition | aXLang aspect composition | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | ResourceModel | theResourceModel, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts application model to aXLang.
theApplicationModel | aXLang application model | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | SignalInstance | theGlobalSignalInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global signal instance to axl.
theGlobalSignalInstance | aXLang global signal instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | FunctionInstance | theGlobalFunctionInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global function instance to axl.
theGlobalFunctionInstance | aXLang global function instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXL | ( | DelegationDownInstance | theGlobalDelegationInstance, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Converts global delegation instance to axl.
theGlobalDelegationInstance | aXLang global delegation instance | |
sIndent | text indentation |
String de.fraunhofer.isst.axbench.operations.AXLWriter.toAXLOrInclude | ( | IAXLangElement | axlElement, | |
String | sIndent, | |||
Object... | arrAdditional | |||
) |
Returns aXLang representation valid for every element.
axlElement | aXLang element | |
sIndent | text indentation |
boolean de.fraunhofer.isst.axbench.operations.AXLWriter.writeFile | ( | String | theFilename, | |
IAXLangElement | theElement | |||
) |
Writes the given file and returns success/failure.
This method is a convenience method for using the AXLWriter.
Usage (create object in order to access the generated messages):
AXLWriter theWriter = new AXLWriter(); boolean isSuccess = theWriter.writeFile("xyz.axl"); theWriter.getAXLMessages(MessageType.ERROR);
Usage (no access to the generated messages):
boolean isSuccess = new AXLWriter().writeFile("xyz.axl"); if (isSuccess) { ... }
theFilename | filename | |
theElement | element to write |
true | successfully written | |
false | failure during write |
final String de.fraunhofer.isst.axbench.operations.AXLWriter.FORMAT_BLOCK = "{0}{1} '{'\n{2}{0}'}'\n" [static, private] |
block formatting
final String de.fraunhofer.isst.axbench.operations.AXLWriter.FORMAT_LINE = "{0}{1};\n" [static, private] |
line formatting
final String de.fraunhofer.isst.axbench.operations.AXLWriter.ID_IN_ELEMENT = "axlin" [static] |
identifier of the input element
final String de.fraunhofer.isst.axbench.operations.AXLWriter.ID_IN_FILE = "axlfile" [static] |
identifier of the output file
final String de.fraunhofer.isst.axbench.operations.AXLWriter.INDENT = "\t" [static, private] |
indentation for pretty formatting
final String de.fraunhofer.isst.axbench.operations.AXLWriter.PARAM_FOR_ID_CHECK = "wholefilescontent" [static] |
final String de.fraunhofer.isst.axbench.operations.AXLWriter.PARAM_OUT_WRITER = "stringbuildercontent" [static] |
identifier of the output content
final String de.fraunhofer.isst.axbench.operations.AXLWriter.PATH_SEPARATOR = "." [static, private] |
separator symbol for the syntactic representation of element paths
String de.fraunhofer.isst.axbench.operations.AXLWriter.sOldModelFilename = null [private] |
if the outputfile is another than the inputfile (model) , the oldmodelfilename has to be saved