org.apache.xalan.stree
Class AttrImplNS

java.lang.Object
  |
  +--org.apache.xml.utils.UnImplNode
        |
        +--org.apache.xalan.stree.Child
              |
              +--org.apache.xalan.stree.AttrImpl
                    |
                    +--org.apache.xalan.stree.AttrImplNS
Direct Known Subclasses:
NameSpaceDecl

public class AttrImplNS
extends AttrImpl

**For internal use only** Class to hold information about an attribute node with a name space


Method Summary
 java.lang.String getLocalName()
          Returns the local part of the qualified name of this node.
 java.lang.String getNamespaceURI()
          The namespace URI of this node, or null if it is unspecified.
 java.lang.String getPrefix()
          The namespace prefix of this node, or null if it is unspecified.
 
Methods inherited from class org.apache.xalan.stree.AttrImpl
dispatchCharactersEvent, getName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerElement, getPreviousSibling, getSpecified, getValue, setValue
 
Methods inherited from class org.apache.xalan.stree.Child
getAttributes, getFirstChild, getLastChild, getLevel, getOwnerDocument, getParentNode, getTagName, getUid, hasChildNodes, isComplete, isNamespaceNode, isSupported, setAttribute, setComplete, setLevel
 
Methods inherited from class org.apache.xml.utils.UnImplNode
appendChild, appendData, cloneNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, error, error, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildNodes, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getLength, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertBefore, insertData, item, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, replaceData, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setNodeValue, setPrefix, splitText, substringData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNamespaceURI

public java.lang.String getNamespaceURI()
The namespace URI of this node, or null if it is unspecified.
This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time.
For nodes of any type other than ELEMENT_NODE and ATTRIBUTE_NODE and nodes created with a DOM Level 1 method, such as createElement from the Document interface, this is always null.Per the Namespaces in XML Specification an attribute does not inherit its namespace from the element it is attached to. If an attribute is not explicitly given a namespace, it simply has no namespace.
Returns:
namespace URI of this node
Overrides:
getNamespaceURI in class AttrImpl

getPrefix

public java.lang.String getPrefix()
The namespace prefix of this node, or null if it is unspecified.
Returns:
namespace prefix of this node
Overrides:
getPrefix in class AttrImpl
Since:
DOM Level 2

getLocalName

public java.lang.String getLocalName()
Returns the local part of the qualified name of this node.
For nodes created with a DOM Level 1 method, such as createElement from the Document interface, it is null.
Returns:
local part of the qualified name of this node
Overrides:
getLocalName in class AttrImpl
Since:
DOM Level 2


Copyright � 2000 Apache XML Project. All Rights Reserved.