INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph.rules
Class RESubst

java.lang.Object
  extended by fr.fluxmedia.transmorpher.graph.rules.RESubst
All Implemented Interfaces:
Rule

public class RESubst
extends java.lang.Object
implements Rule

Transmorpher graph rule node interface

Since:
jdk 1.3 / SAX 2.0
Author:
Jerome.Euzenat@inrialpes.fr

Field Summary
 java.lang.String apply
          Description of the Field
 java.lang.String context
          Description of the Field
 java.lang.String match
          Description of the Field
 java.lang.String source
          Description of the Field
 java.lang.String target
          Description of the Field
 
Constructor Summary
RESubst()
          Constructor for the RESubst object
RESubst(java.lang.String m, java.lang.String s, java.lang.String t)
          Constructor for the RESubst object
RESubst(java.lang.String m, java.lang.String c, java.lang.String s, java.lang.String t, java.lang.String a)
          Constructor for the RESubst object
 
Method Summary
 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 getApply()
          Gets the apply attribute of the RESubst object
 java.lang.String getContext()
          Gets the context attribute of the RESubst object
 java.lang.String getMatch()
          Gets the match attribute of the RESubst object
 java.lang.String getSource()
          Gets the source attribute of the RESubst object
 java.lang.String getTarget()
          Gets the target attribute of the RESubst object
 void setApply(java.lang.String apply)
          Sets the apply attribute of the RESubst object
 void setContext(java.lang.String context)
          Sets the context attribute of the RESubst object
 void setMatch(java.lang.String match)
          Sets the match attribute of the RESubst object
 void setSource(java.lang.String source)
          Sets the source attribute of the RESubst object
 void setTarget(java.lang.String target)
          Sets the target attribute of the RESubst object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

match

public java.lang.String match
Description of the Field


context

public java.lang.String context
Description of the Field


source

public java.lang.String source
Description of the Field


target

public java.lang.String target
Description of the Field


apply

public java.lang.String apply
Description of the Field

Constructor Detail

RESubst

public RESubst()
Constructor for the RESubst object


RESubst

public RESubst(java.lang.String m,
               java.lang.String s,
               java.lang.String t)
Constructor for the RESubst object

Parameters:
m - Description of the Parameter
s - Description of the Parameter
t - Description of the Parameter

RESubst

public RESubst(java.lang.String m,
               java.lang.String c,
               java.lang.String s,
               java.lang.String t,
               java.lang.String a)
Constructor for the RESubst object

Parameters:
m - Description of the Parameter
c - Description of the Parameter
s - Description of the Parameter
t - Description of the Parameter
a - Description of the Parameter
Method Detail

setMatch

public void setMatch(java.lang.String match)
Sets the match attribute of the RESubst object

Parameters:
match - The new match value

getMatch

public java.lang.String getMatch()
Gets the match attribute of the RESubst object

Returns:
The match value

setContext

public void setContext(java.lang.String context)
Sets the context attribute of the RESubst object

Parameters:
context - The new context value

getContext

public java.lang.String getContext()
Gets the context attribute of the RESubst object

Returns:
The context value

setTarget

public void setTarget(java.lang.String target)
Sets the target attribute of the RESubst object

Parameters:
target - The new target value

getTarget

public java.lang.String getTarget()
Gets the target attribute of the RESubst object

Returns:
The target value

setSource

public void setSource(java.lang.String source)
Sets the source attribute of the RESubst object

Parameters:
source - The new source value

getSource

public java.lang.String getSource()
Gets the source attribute of the RESubst object

Returns:
The source value

setApply

public void setApply(java.lang.String apply)
Sets the apply attribute of the RESubst object

Parameters:
apply - The new apply value

getApply

public java.lang.String getApply()
Gets the apply attribute of the RESubst object

Returns:
The apply value

generateXML

public void generateXML()
Prints the XML expression of the rule

Specified by:
generateXML in interface Rule

generateXSLTCode

public void generateXSLTCode(Writer file)
                      throws java.io.IOException
Description of the Method

Specified by:
generateXSLTCode in interface Rule
Parameters:
file - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

generateInsideXSLTCode

public void generateInsideXSLTCode(Writer file)
                            throws TMException
Prints the XSLT code inside a ModTag template

Specified by:
generateInsideXSLTCode in interface Rule
Parameters:
file - Description of the Parameter
Throws:
TMException - Description of the Exception

INRIA & FluxMedia

..no bottom yet...