INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph.rules
Class AddTag

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

public class AddTag
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
 
Constructor Summary
AddTag()
          Constructor for the AddTag object
AddTag(java.lang.String m)
          Constructor for the AddTag object
AddTag(java.lang.String m, java.lang.String c)
          Constructor for the AddTag 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 AddTag object
 java.lang.String getMatch()
          Gets the match attribute of the AddTag object
 void setContext(java.lang.String context)
          Sets the context attribute of the AddTag object
 void setMatch(java.lang.String match)
          Sets the match attribute of the AddTag 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

Constructor Detail

AddTag

public AddTag()
Constructor for the AddTag object


AddTag

public AddTag(java.lang.String m)
Constructor for the AddTag object

Parameters:
m - Description of the Parameter

AddTag

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

Parameters:
m - 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 AddTag object

Parameters:
match - The new match value

getMatch

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

Returns:
The match value

setContext

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

Parameters:
context - The new context value

getContext

public java.lang.String getContext()
Gets the context attribute of the AddTag 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 TMException
Description of the Method

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

generateInsideXSLTCode

public void generateInsideXSLTCode(Writer file)
                            throws java.io.IOException
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
java.io.IOException

INRIA & FluxMedia

..no bottom yet...