INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph.rules
Class DefAtt

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

public class DefAtt
extends java.lang.Object
implements Rule

Transmorpher default attribute rule

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 value
          Description of the Field
 
Constructor Summary
DefAtt()
          Constructor for the DefAtt object
DefAtt(java.lang.String m, java.lang.String v)
          Constructor for the DefAtt object
DefAtt(java.lang.String m, java.lang.String v, java.lang.String c)
          Constructor for the DefAtt object
 
Method Summary
 void generateInsideXSLTCode(Writer file)
          Prints the XSLT code inside a ModTag template This is the only way for a default attribute rule to work
 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 DefAtt object
 java.lang.String getMatch()
          Gets the match attribute of the DefAtt object
 java.lang.String getValue()
          Gets the value attribute of the DefAtt object
 void setContext(java.lang.String context)
          Sets the context attribute of the DefAtt object
 void setMatch(java.lang.String match)
          Sets the match attribute of the DefAtt object
 void setValue(java.lang.String value)
          Sets the value attribute of the DefAtt 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


context

public java.lang.String context
Description of the Field

Constructor Detail

DefAtt

public DefAtt()
Constructor for the DefAtt object


DefAtt

public DefAtt(java.lang.String m,
              java.lang.String v)
Constructor for the DefAtt object

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

DefAtt

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

Parameters:
m - Description of the Parameter
v - 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 DefAtt object

Parameters:
match - The new match value

getMatch

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

Returns:
The match value

getContext

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

Returns:
The context value

setContext

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

Parameters:
context - The new context value

getValue

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

Returns:
The value value

setValue

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

Parameters:
value - The new 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 This is the only way for a default attribute rule to work

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...