public abstract class AbstractAttrNS extends AbstractAttr
Attr interface with
support for namespaces.AbstractAttr.AttrTypeInfoAbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS| Modifier and Type | Field and Description |
|---|---|
protected String |
namespaceURI
The namespace URI
|
isIdAttr, nodeName, ownerElement, typeInfo, unspecifiedchildNodesDOCUMENT_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, userDataHandlersATTRIBUTE_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(String nsURI,
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.
|
String |
getNamespaceURI()
DOM: Implements
Node.getNamespaceURI(). |
checkChildType, fireDOMSubtreeModifiedEvent, getName, getNodeName, getNodeType, getNodeValue, getOwnerElement, getSchemaTypeInfo, getSpecified, getValue, isId, nodeAdded, nodeToBeRemoved, setIsId, setNodeName, setNodeValue, setOwnerElement, setSpecified, setValueappendChild, checkAndRemove, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, normalize, removeChild, replaceChildaddEventListener, 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, willTriggerNSclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, 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, setUserDataisReadonly, setReadonlyprotected String namespaceURI
protected AbstractAttrNS()
protected AbstractAttrNS(String nsURI, 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 String getNamespaceURI()
Node.getNamespaceURI().getNamespaceURI in interface NodegetNamespaceURI in class AbstractNodenamespaceURI.protected Node export(Node n, AbstractDocument d)
export in class AbstractAttrprotected Node deepExport(Node n, AbstractDocument d)
deepExport in class AbstractAttrprotected Node copyInto(Node n)
copyInto in class AbstractAttrn - a node of the type of this.protected Node deepCopyInto(Node n)
deepCopyInto in class AbstractAttrn - a node of the type of this.Copyright © 2000–2024 Apache Software Foundation. All rights reserved.