|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.fluxmedia.transmorpher.graph.rules.ModTag
Transmorpher graph rule node interface
Field Summary | |
java.lang.String |
context
Description of the Field |
java.lang.String |
match
Description of the Field |
java.util.ArrayList |
rules
Description of the Field |
java.lang.String |
target
Description of the Field |
Constructor Summary | |
ModTag()
Constructor for the ModTag object |
|
ModTag(java.lang.String m)
Constructor for the ModTag object |
|
ModTag(java.lang.String m,
java.lang.String c)
Constructor for the ModTag object |
|
ModTag(java.lang.String m,
java.lang.String t,
java.lang.String c)
Constructor for the ModTag object |
Method Summary | |
void |
addRule(Rule r)
Adds a feature to the Rule attribute of the ModTag object |
void |
generateInsideXSLTCode(Writer file)
Prints the XSLT code inside a ModTag template |
void |
generateXML()
Prints the XML expression of the rule |
void |
generateXSLTCode(Writer file)
Description of the Method |
java.lang.String |
getContext()
Gets the context attribute of the ModTag object |
java.lang.String |
getMatch()
Gets the match attribute of the ModTag object |
java.util.ArrayList |
getRules()
Gets the rules attribute of the ModTag object |
java.lang.String |
getTarget()
Gets the target attribute of the ModTag object |
void |
setContext(java.lang.String context)
Sets the context attribute of the ModTag object |
void |
setMatch(java.lang.String match)
Sets the match attribute of the ModTag object |
void |
setTarget(java.lang.String target)
Sets the target attribute of the ModTag object |
Methods inherited from class java.lang.Object |
|
Field Detail |
public java.util.ArrayList rules
public java.lang.String match
public java.lang.String context
public java.lang.String target
Constructor Detail |
public ModTag()
public ModTag(java.lang.String m)
m
- Description of the Parameterpublic ModTag(java.lang.String m, java.lang.String c)
m
- Description of the Parameterc
- Description of the Parameterpublic ModTag(java.lang.String m, java.lang.String t, java.lang.String c)
m
- Description of the Parametert
- Description of the Parameterc
- Description of the ParameterMethod Detail |
public void setMatch(java.lang.String match)
match
- The new match valuepublic java.lang.String getMatch()
public void setTarget(java.lang.String target)
target
- The new target valuepublic java.lang.String getTarget()
public void setContext(java.lang.String context)
context
- The new context valuepublic java.lang.String getContext()
public java.util.ArrayList getRules()
public void addRule(Rule r)
r
- The feature to be added to the Rule attributepublic void generateXML()
generateXML
in interface Rule
public void generateXSLTCode(Writer file) throws TMException, java.io.IOException
generateXSLTCode
in interface Rule
file
- Description of the ParameterTMException
- Description of the Exceptionjava.io.IOException
- Description of the Exceptionpublic void generateInsideXSLTCode(Writer file) throws TMException
generateInsideXSLTCode
in interface Rule
file
- Description of the ParameterTMException
- Description of the Exception
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |