org.apache.xalan.stree
Class AttrImplNS

java.lang.Object
  |
  +--org.apache.xalan.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


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
getName, getNodeName, getNodeType, getNodeValue, getOwnerElement, getSpecified, getValue, setValue
 
Methods inherited from class org.apache.xalan.stree.Child
getAttributes, getChildPosition, getFirstChild, getLastChild, getLevel, getNextSibling, getOwnerDocument, getParentNode, getPreviousSibling, getTagName, getUid, hasChildNodes, isComplete, isNamespaceNode, setAttribute, setLevel, supports
 
Methods inherited from class org.apache.xalan.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.
Overrides:
getNamespaceURI in class AttrImpl

getPrefix

public java.lang.String getPrefix()
The namespace prefix of this node, or null if it is unspecified.
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.
Overrides:
getLocalName in class AttrImpl
Since:
DOM Level 2


Copyright © 2000 Apache XML Project. All Rights Reserved.