public class DOM2DTMdefaultNamespaceDeclarationNode extends Object implements Attr, TypeInfo
(This used to be an internal class within DOM2DTM. Moved out because I need to perform an instanceof operation on it to support a temporary workaround in DTMManagerDefault.)
%REVIEW% What if the DOM2DTM was built around a DocumentFragment and there isn't a single root element? I think this fails that case...
%REVIEW% An alternative solution would be to create the node _only_ in DTM space, but given how DOM2DTM is currently written I think this is simplest.
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_NODEDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNIONpublic String getNodeName()
getNodeName in interface Nodepublic String getNamespaceURI()
getNamespaceURI in interface Nodepublic String getLocalName()
getLocalName in interface Nodepublic String getNodeValue()
getNodeValue in interface Nodepublic Element getOwnerElement()
getOwnerElement in interface Attrpublic boolean isSupported(String feature, String version)
isSupported in interface Nodepublic boolean hasChildNodes()
hasChildNodes in interface Nodepublic boolean hasAttributes()
hasAttributes in interface Nodepublic Node getParentNode()
getParentNode in interface Nodepublic Node getFirstChild()
getFirstChild in interface Nodepublic Node getLastChild()
getLastChild in interface Nodepublic Node getPreviousSibling()
getPreviousSibling in interface Nodepublic Node getNextSibling()
getNextSibling in interface Nodepublic boolean getSpecified()
getSpecified in interface Attrpublic NodeList getChildNodes()
getChildNodes in interface Nodepublic NamedNodeMap getAttributes()
getAttributes in interface Nodepublic short getNodeType()
getNodeType in interface Nodepublic void setNodeValue(String value)
setNodeValue in interface Nodepublic Node insertBefore(Node a, Node b)
insertBefore in interface Nodepublic Node replaceChild(Node a, Node b)
replaceChild in interface Nodepublic Node appendChild(Node a)
appendChild in interface Nodepublic Node removeChild(Node a)
removeChild in interface Nodepublic Document getOwnerDocument()
getOwnerDocument in interface Nodepublic String getTypeName()
getTypeName in interface TypeInfopublic String getTypeNamespace()
getTypeNamespace in interface TypeInfopublic boolean isDerivedFrom(String ns, String localName, int derivationMethod)
isDerivedFrom in interface TypeInfopublic TypeInfo getSchemaTypeInfo()
getSchemaTypeInfo in interface Attrpublic Object setUserData(String key, Object data, UserDataHandler handler)
setUserData in interface Nodepublic Object getUserData(String key)
getUserData in interface Nodepublic Object getFeature(String feature, String version)
getFeature in interface Nodepublic boolean isEqualNode(Node arg)
isEqualNode in interface Nodepublic String lookupNamespaceURI(String specifiedPrefix)
lookupNamespaceURI in interface Nodepublic boolean isDefaultNamespace(String namespaceURI)
isDefaultNamespace in interface Nodepublic String lookupPrefix(String namespaceURI)
lookupPrefix in interface Nodepublic boolean isSameNode(Node other)
isSameNode in interface Nodepublic void setTextContent(String textContent) throws DOMException
setTextContent in interface NodeDOMExceptionpublic String getTextContent() throws DOMException
getTextContent in interface NodeDOMExceptionpublic short compareDocumentPosition(Node other) throws DOMException
compareDocumentPosition in interface NodeDOMExceptionpublic String getBaseURI()
getBaseURI in interface NodeCopyright © 2022. All rights reserved.