|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
fr.fluxmedia.transmorpher.graph.TransformationImpl
fr.fluxmedia.transmorpher.graph.Ruleset
public class Ruleset
Transmorpher graph ruleset definitions
Field Summary | |
---|---|
protected java.util.ArrayList |
namespaces
List of namespaces |
protected java.util.ArrayList |
rules
a list for the rules |
Fields inherited from class fr.fluxmedia.transmorpher.graph.TransformationImpl |
---|
attributes, inPorts, name, outPorts, parameters, transmorpher, type |
Constructor Summary | |
---|---|
Ruleset(java.lang.String name,
Transmorpher owner)
Constructor for the Ruleset object |
Method Summary | |
---|---|
void |
addNamespace(Namespace n)
Adds a namespace to this Query instance |
void |
addRule(Rule r)
Adds a rule to this Ruleset instance |
void |
generateJavaCode(Writer file,
LinearIndexedStruct externs)
Prints the Java code for the execution of the call |
void |
generateXML()
Prints the XML expression of the process |
void |
generateXSLTCode(Writer file)
Prints the xsl for the execution of this Ruleset instance |
void |
generateXSLTStylesheet(java.lang.String reloc)
generate the stylesheet for the Ruleset (in the correct file) |
void |
insertRule(Rule rule,
int index)
Adds a rule at the specified index to this Ruleset instance |
Methods inherited from class fr.fluxmedia.transmorpher.graph.TransformationImpl |
---|
addIn, addIn, addOut, addOut, getAttributes, getName, getParameters, getTransmorpher, getType, inPorts, outPorts, retroNull, setName, setParameters, setType, update |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.ArrayList rules
protected java.util.ArrayList namespaces
Constructor Detail |
---|
public Ruleset(java.lang.String name, Transmorpher owner)
name
- The name of the Ruleset instance to createowner
- The Transmorpher instance that owns this Ruleset instanceMethod Detail |
---|
public void addRule(Rule r)
rule
- The rule to addpublic void addNamespace(Namespace n)
addNamespace
in interface Namespaced
name
- The namespace to addpublic void insertRule(Rule rule, int index)
rule
- The rule to Addindex
- index in the listpublic void generateXML()
generateXML
in interface Transformation
generateXML
in class TransformationImpl
public void generateJavaCode(Writer file, LinearIndexedStruct externs)
generateJavaCode
in interface Transformation
generateJavaCode
in class TransformationImpl
file
- Description of the Parameterexterns
- Description of the Parameterpublic void generateXSLTStylesheet(java.lang.String reloc) throws TMException, java.io.IOException
reloc
- The path where the stylesheet have to be put
java.io.IOException
- When IO errors occur
java.io.IOException
- Description of the Exception
TMException
public void generateXSLTCode(Writer file) throws TMException, java.io.IOException
file
- The writer used for printing in a file
TMException
- Description of the Exception
java.io.IOException
- Description of the Exception
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |