org.ow2.mind.adl
Class ImplementationHeaderSourceGenerator
java.lang.Object
org.ow2.mind.st.AbstractStringTemplateProcessor
org.ow2.mind.adl.AbstractSourceGenerator
org.ow2.mind.adl.ImplementationHeaderSourceGenerator
- All Implemented Interfaces:
- DefinitionSourceGenerator, VoidVisitor<org.objectweb.fractal.adl.Definition>
public class ImplementationHeaderSourceGenerator
- extends AbstractSourceGenerator
- implements DefinitionSourceGenerator
|
Method Summary |
protected java.lang.String |
getFileContent(org.objectweb.fractal.adl.Definition definition)
|
static java.lang.String |
getImplHeaderFileName(org.objectweb.fractal.adl.Definition definition)
A static method that returns the name of the file that is generated by this
component for the given Definition; |
static java.lang.String |
getImplHeaderFileName(org.objectweb.fractal.adl.Definition definition,
int srcIndex)
A static method that returns the name of the file that is generated by this
component for the given Definition and source index |
void |
visit(org.objectweb.fractal.adl.Definition definition,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImplementationHeaderSourceGenerator
protected ImplementationHeaderSourceGenerator()
getImplHeaderFileName
public static java.lang.String getImplHeaderFileName(org.objectweb.fractal.adl.Definition definition)
- A static method that returns the name of the file that is generated by this
component for the given
Definition;
- Parameters:
definition - a Definition node.
- Returns:
- the name of the file that is generated by this component for the
given
Definition;
getImplHeaderFileName
public static java.lang.String getImplHeaderFileName(org.objectweb.fractal.adl.Definition definition,
int srcIndex)
- A static method that returns the name of the file that is generated by this
component for the given
Definition and source index
- Parameters:
definition - a Definition node.srcIndex - the index of the source node.
- Returns:
- the name of the file that is generated by this component for the
given
Definition;
visit
public void visit(org.objectweb.fractal.adl.Definition definition,
java.util.Map<java.lang.Object,java.lang.Object> context)
throws org.objectweb.fractal.adl.ADLException
- Specified by:
visit in interface VoidVisitor<org.objectweb.fractal.adl.Definition>
- Throws:
org.objectweb.fractal.adl.ADLException
getFileContent
protected java.lang.String getFileContent(org.objectweb.fractal.adl.Definition definition)
Copyright © 2009-2011 OW2. All Rights Reserved.