INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph.rules
Class Namespace

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

public class Namespace
extends java.lang.Object
implements Rule

Transmorpher graph namespace interface

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

Field Summary
 java.lang.String name
          Description of the Field
 java.lang.String uri
          Description of the Field
 
Constructor Summary
Namespace()
          Constructor for the Namespace object
Namespace(java.lang.String n, java.lang.String v)
          Constructor for the Namespace 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 getName()
          Gets the name attribute of the Namespace object
 java.lang.String getURI()
          Gets the uRI attribute of the Namespace object
 void setName(java.lang.String name)
          Sets the name attribute of the Namespace object
 void setURI(java.lang.String uri)
          Sets the uRI attribute of the Namespace object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
Description of the Field


uri

public java.lang.String uri
Description of the Field

Constructor Detail

Namespace

public Namespace()
Constructor for the Namespace object


Namespace

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

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

setName

public void setName(java.lang.String name)
Sets the name attribute of the Namespace object

Parameters:
name - The new name value

getName

public java.lang.String getName()
Gets the name attribute of the Namespace object

Returns:
The name value

setURI

public void setURI(java.lang.String uri)
Sets the uRI attribute of the Namespace object

Parameters:
uri - The new uRI value

getURI

public java.lang.String getURI()
Gets the uRI attribute of the Namespace object

Returns:
The uRI 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)
Prints the XSLT code inside a ModTag template

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

INRIA & FluxMedia

..no bottom yet...