fr.fluxmedia.transmorpher.graph
Class Ruleset
java.lang.Object
|
+--java.util.Observable
|
+--fr.fluxmedia.transmorpher.graph.TransformationImpl
|
+--fr.fluxmedia.transmorpher.graph.Ruleset
- All Implemented Interfaces:
- Namespaced, Transformation
- public class Ruleset
- extends TransformationImpl
- implements Namespaced
Field Summary |
(package private) java.util.ArrayList |
namespaces
|
(package private) java.util.ArrayList |
rules
|
Fields inherited from class java.util.Observable |
changed, obs |
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, registerNatives, toString, wait, wait, wait |
rules
java.util.ArrayList rules
namespaces
java.util.ArrayList namespaces
Ruleset
public Ruleset(java.lang.String n,
Transmorpher t)
addRule
public void addRule(fr.fluxmedia.transmorpher.graph.Rules.Rule r)
addNamespace
public void addNamespace(fr.fluxmedia.transmorpher.graph.Rules.Namespace n)
- Description copied from interface:
Namespaced
- Add the namespace to the component
- Specified by:
addNamespace
in interface Namespaced
insertRule
public void insertRule(fr.fluxmedia.transmorpher.graph.Rules.Rule r,
int i)
generateXML
public void generateXML()
- Prints the XML expression of the process
- Overrides:
generateXML
in class TransformationImpl
generateJavaCode
public void generateJavaCode(Writer file,
LinearIndexedStruct externs)
- Prints the Java code for the execution of the call
- Overrides:
generateJavaCode
in class TransformationImpl
generateXSLTStylesheet
public void generateXSLTStylesheet(java.lang.String reloc)
throws TMException,
java.io.IOException
- generate the stylesheet for the Query (in the correct file)
generateXSLTCode
public void generateXSLTCode(Writer file)
throws TMException,
java.io.IOException
- Prints the Java code for the execution of the call
..no bottom yet...