| java.lang.Object org.apache.xerces.dom.NodeImpl org.apache.xerces.dom.AttrImpl org.apache.xerces.dom.AttrNSImpl
All known Subclasses: org.apache.xerces.dom.DeferredAttrNSImpl,
AttrNSImpl | public class AttrNSImpl extends AttrImpl (Code) | | AttrNSImpl inherits from AttrImpl and adds namespace support.
The qualified name is the node name, and we store localName which is also
used in all queries. On the other hand we recompute the prefix when
necessary.
author: Arnaud Le Hors, IBM author: Andy Clark, IBM author: Ralf Pfeiffer, IBM |
namespaceURI | protected String namespaceURI(Code) | | DOM2: Namespace URI.
|
serialVersionUID | final static long serialVersionUID(Code) | | Serialization version.
|
getLocalName | public String getLocalName()(Code) | | Introduced in DOM Level 2.
Returns the local part of the qualified name of this node.
since: WD-DOM-Level-2-19990923 |
getNamespaceURI | public String getNamespaceURI()(Code) | | Introduced in DOM Level 2.
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 created with a DOM Level 1 method, such as createElement
from the Document interface, this is null.
since: WD-DOM-Level-2-19990923 |
getPrefix | public String getPrefix()(Code) | | Introduced in DOM Level 2.
The namespace prefix of this node, or null if it is unspecified.
For nodes created with a DOM Level 1 method, such as createElement
from the Document interface, this is null.
since: WD-DOM-Level-2-19990923 |
setPrefix | public void setPrefix(String prefix) throws DOMException(Code) | | Introduced in DOM Level 2.
Note that setting this attribute changes the nodeName attribute, which
holds the qualified name, as well as the tagName and name attributes of
the Element and Attr interfaces, when applicable.
throws: INVALID_CHARACTER_ERR - Raised if the specifiedprefix contains an invalid character. since: WD-DOM-Level-2-19990923 |
|
|