org.castor.xmlctf.xmldiff.xml.nodes
Class Attribute

java.lang.Object
  extended by org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
      extended by org.castor.xmlctf.xmldiff.xml.nodes.Attribute

public class Attribute
extends XMLNode

A class representing an Attribute XML node.

Since:
Castor 1.1
Version:
$Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
Author:
Edward Kuns

Field Summary
 
Fields inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
ATTRIBUTE, ELEMENT, PROCESSING_INSTRUCTION, ROOT, TEXT
 
Constructor Summary
Attribute(java.lang.String namespace, java.lang.String localName, java.lang.String value)
          Creates a new Attribute.
 
Method Summary
 java.lang.String getStringValue()
          Returns the string value of this attribute.
 
Methods inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
getLocalName, getNamespaceURI, getNamespaceURI, getNodeLocation, getNodeType, getParentNode, getRootNode, getXPath, setNamespace, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute(java.lang.String namespace,
                 java.lang.String localName,
                 java.lang.String value)
Creates a new Attribute.

Parameters:
namespace - the namespace URI for this node. (May be null.)
localName - the localname of this node. (Cannot be null.)
value - the String value of this attribute. (Cannot be null.)
Method Detail

getStringValue

public java.lang.String getStringValue()
Returns the string value of this attribute.

Specified by:
getStringValue in class XMLNode
Returns:
The string value of this attribute.


Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com