|
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.Query
public class Query
Transmorpher graph query definitions
Field Summary | |
---|---|
protected java.util.ArrayList |
namespaces
List of namespaces |
protected java.lang.String |
root
the root value |
protected java.util.ArrayList |
selects
List of selection |
Fields inherited from class fr.fluxmedia.transmorpher.graph.TransformationImpl |
---|
attributes, inPorts, name, outPorts, parameters, transmorpher, type |
Constructor Summary | |
---|---|
Query(java.lang.String name,
Transmorpher owner,
java.lang.String root)
Constructor for the Query object |
Method Summary | |
---|---|
void |
addNamespace(Namespace name)
Adds a namespace to this Query instance |
void |
addSelection(Select selection)
Adds a selection to this Query instance |
void |
generateJavaCode(Writer file,
LinearIndexedStruct externs)
Prints the Java code for the execution of this Query instance |
void |
generateXML()
Prints the XML expression of the process |
void |
generateXMLinFile(Writer file)
Prints the XML expression of the process |
void |
generateXSLTCode(Writer file)
Prints the xsl for the execution of this Query instance |
void |
generateXSLTStylesheet(java.lang.String reloc)
generate the stylesheet for the Query (in the correct file) |
void |
insertSelection(Select selection,
int index)
Adds a selection at the specified index to this Query 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 selects
protected java.util.ArrayList namespaces
protected java.lang.String root
Constructor Detail |
---|
public Query(java.lang.String name, Transmorpher owner, java.lang.String root)
name
- The name of the Query instanceowner
- The Transmorpher instance that owns this Query instanceroot
- Description of the ParameterMethod Detail |
---|
public void addNamespace(Namespace name)
addNamespace
in interface Namespaced
name
- The namespace to addpublic void addSelection(Select selection)
selection
- The selection to Addpublic void insertSelection(Select selection, int index)
selection
- The selection to Addindex
- index in the listpublic void generateXML()
generateXML
in interface Transformation
generateXML
in class TransformationImpl
public void generateXMLinFile(Writer file)
file
- Description of the Parameterpublic void generateJavaCode(Writer file, LinearIndexedStruct externs)
generateJavaCode
in interface Transformation
generateJavaCode
in class TransformationImpl
file
- The writer used for printing in a fileexterns
- Description of the Parameterpublic void generateXSLTStylesheet(java.lang.String reloc) throws java.io.IOException
reloc
- The path where the stylesheet have to be put
java.io.IOException
- When IO errors occurpublic void generateXSLTCode(Writer file) throws java.io.IOException
file
- The writer used for printing in a file
java.io.IOException
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |