INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph.rules
Class MapTag

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

public class MapTag
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 context
          Description of the Field
 java.lang.String match
          Description of the Field
 java.lang.String target
          Description of the Field
 
Constructor Summary
MapTag()
          Constructor for the MapTag object
MapTag(java.lang.String m, java.lang.String t)
          Constructor for the MapTag object
MapTag(java.lang.String m, java.lang.String t, java.lang.String c)
          Constructor for the MapTag 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 getContext()
          Gets the context attribute of the MapTag object
 java.lang.String getMatch()
          Gets the match attribute of the MapTag object
 java.lang.String getTarget()
          Gets the target attribute of the MapTag object
 void setContext(java.lang.String context)
          Sets the context attribute of the MapTag object
 void setMatch(java.lang.String match)
          Sets the match attribute of the MapTag object
 void setTarget(java.lang.String target)
          Sets the target attribute of the MapTag 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


target

public java.lang.String target
Description of the Field


context

public java.lang.String context
Description of the Field

Constructor Detail

MapTag

public MapTag()
Constructor for the MapTag object


MapTag

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

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

MapTag

public MapTag(java.lang.String m,
              java.lang.String t,
              java.lang.String c)
Constructor for the MapTag object

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

setMatch

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

Parameters:
match - The new match value

getMatch

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

Returns:
The match value

setTarget

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

Parameters:
target - The new target value

getTarget

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

Returns:
The target value

setContext

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

Parameters:
context - The new context value

getContext

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

Returns:
The context 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...