org.exolab.adaptx.xslt.dom
Class Attribute
- java.io.Serializable
public class Attribute
extends org.exolab.adaptx.xslt.dom.BaseNode
A class representing an Attribute node
$Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
Attribute(String localName, String value)- Creates a new Attribute
|
Attribute(String namespace, String localName, String value)- Creates a new Attribute
|
int | getNodeType()- Returns the type of this node.
|
String | getStringValue()- Returns the string value of the node.
|
void | setValue(String value)- Sets the value for this XPathNode
|
getAttribute, getFirstAttribute, getFirstChild, getFirstNamespace, getLocalName, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNext, getNodeType, getParentNode, getPrevious, getProperty, getRootNode, getStringValue, hasChildNodes, setProperty |
getAttribute, getFirstAttribute, getFirstChild, getFirstNamespace, getLocalName, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNext, getNodeType, getParentNode, getPrevious, getRootNode, getStringValue, hasChildNodes |
Attribute
public Attribute(String localName,
String value) Creates a new Attribute
localName - the local-name of this node. [Cannot be null]value - the value of this attribute
Attribute
public Attribute(String namespace,
String localName,
String value) Creates a new Attribute
namespace - the namespace URI for this node. [May be null]localName - the local-name of this node. [Cannot be null]value - the value of this attribute
getNodeType
public int getNodeType()
Returns the type of this node.
- getNodeType in interface org.exolab.adaptx.xslt.dom.BaseNode
getStringValue
public String getStringValue()
Returns the string value of the node. The string value of a text
node or an attribute node is it's text value. The string value of
an element or a root node is the concatenation of the string value
of all its child nodes. The string value of a namespace node is its
namespace URI. The string value of a processing instruction is the
instruction, and the string value of a comment is the comment text.
- getStringValue in interface org.exolab.adaptx.xslt.dom.BaseNode
- The string value of the node
setValue
public void setValue(String value)
Sets the value for this XPathNode