INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph.rules
Class AddAtt

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

public class AddAtt
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 match
          Description of the Field
 java.lang.String value
          Description of the Field
 
Constructor Summary
AddAtt()
          Constructor for the AddAtt object
AddAtt(java.lang.String n, java.lang.String v)
          Constructor for the AddAtt 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 getMatch()
          Gets the match attribute of the AddAtt object
 java.lang.String getValue()
          Gets the value attribute of the AddAtt object
 void setMatch(java.lang.String match)
          Sets the match attribute of the AddAtt object
 void setValue(java.lang.String value)
          Sets the value attribute of the AddAtt 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


value

public java.lang.String value
Description of the Field

Constructor Detail

AddAtt

public AddAtt()
Constructor for the AddAtt object


AddAtt

public AddAtt(java.lang.String n,
              java.lang.String v)
Constructor for the AddAtt object

Parameters:
n - Description of the Parameter
v - Description of the Parameter
Method Detail

setMatch

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

Parameters:
match - The new match value

setValue

public void setValue(java.lang.String value)
Sets the value attribute of the AddAtt object

Parameters:
value - The new value value

getMatch

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

Returns:
The match value

getValue

public java.lang.String getValue()
Gets the value attribute of the AddAtt object

Returns:
The value 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 java.io.IOException
Prints the XSLT code inside a ModTag template

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

INRIA & FluxMedia

..no bottom yet...