public abstract class AbstractAttrNS extends AbstractAttr
Attr
interface with
support for namespaces.AbstractAttr.AttrTypeInfo
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
namespaceURI
The namespace URI
|
isIdAttr, nodeName, ownerElement, typeInfo, unspecified
childNodes
DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EMPTY_NODE_LIST, eventSupport, managerData, ownerDocument, userData, userDataHandlers
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Modifier | Constructor and Description |
---|---|
protected |
AbstractAttrNS()
Creates a new Attr object.
|
protected |
AbstractAttrNS(java.lang.String nsURI,
java.lang.String qname,
AbstractDocument owner)
Creates a new Attr object.
|
Modifier and Type | Method and Description |
---|---|
protected Node |
copyInto(Node n)
Copy the fields of the current node into the given node.
|
protected Node |
deepCopyInto(Node n)
Deeply copy the fields of the current node into the given node.
|
protected Node |
deepExport(Node n,
AbstractDocument d)
Deeply exports this node to the given document.
|
protected Node |
export(Node n,
AbstractDocument d)
Exports this node to the given document.
|
java.lang.String |
getNamespaceURI()
DOM: Implements
Node.getNamespaceURI() . |
checkChildType, fireDOMSubtreeModifiedEvent, getName, getNodeName, getNodeType, getNodeValue, getOwnerElement, getSchemaTypeInfo, getSpecified, getValue, isId, nodeAdded, nodeToBeRemoved, setIsId, setNodeName, setNodeValue, setOwnerElement, setSpecified, setValue
appendChild, checkAndRemove, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, normalize, removeChild, replaceChild
addEventListener, addEventListenerNS, cloneNode, compareDocumentPosition, compareNamedNodeMaps, compareStrings, createDOMException, dispatchEvent, fireDOMCharacterDataModifiedEvent, fireUserDataHandlers, getAttributes, getBaseURI, getBaseURI, getCascadedXMLBase, getCurrentDocument, getEventSupport, getFeature, getLocalName, getManagerData, getNextSibling, getOwnerDocument, getParentNode, getParentNodeEventTarget, getPrefix, getPreviousSibling, getUserData, getXblBoundElement, getXblChildNodes, getXblDefinitions, getXblFirstChild, getXblFirstElementChild, getXblLastChild, getXblLastElementChild, getXblNextElementSibling, getXblNextSibling, getXblParentNode, getXblPreviousElementSibling, getXblPreviousSibling, getXblScopedChildNodes, getXblShadowTree, hasAttributes, hasEventListenerNS, initializeEventSupport, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, newNode, removeEventListener, removeEventListenerNS, setManagerData, setNextSibling, setOwnerDocument, setParentNode, setPrefix, setPreviousSibling, setTextContent, setUserData, willTriggerNS
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserData
isReadonly, setReadonly
protected AbstractAttrNS()
protected AbstractAttrNS(java.lang.String nsURI, java.lang.String qname, AbstractDocument owner) throws DOMException
nsURI
- The element namespace URI.qname
- The attribute qualified name for validation purposes.owner
- The owner document.DOMException
- INVALID_CHARACTER_ERR: Raised if the specified qualified name
contains an illegal character.
qualifiedName
is
malformed, if the qualifiedName
has a prefix and the
namespaceURI
is null
or an empty string,
if the qualifiedName
has a prefix that is "xml" and the
namespaceURI
is different from
"http://www.w3.org/XML/1998/namespace", if the
qualifiedName
has a prefix that is "xmlns" and the
namespaceURI
is different from
"http://www.w3.org/2000/xmlns/", or if the qualifiedName
is "xmlns" and the namespaceURI
is different from
"http://www.w3.org/2000/xmlns/".public java.lang.String getNamespaceURI()
Node.getNamespaceURI()
.getNamespaceURI
in interface Node
getNamespaceURI
in class AbstractNode
namespaceURI
.protected Node export(Node n, AbstractDocument d)
export
in class AbstractAttr
protected Node deepExport(Node n, AbstractDocument d)
deepExport
in class AbstractAttr
protected Node copyInto(Node n)
copyInto
in class AbstractAttr
n
- a node of the type of this.protected Node deepCopyInto(Node n)
deepCopyInto
in class AbstractAttr
n
- a node of the type of this.Copyright © 2022 Apache Software Foundation. All Rights Reserved.