This is a kluge to let us shove a declaration for xml: into the
DOM2DTM model. Basically, it creates a proxy node in DOM space to
carry the additional information. This is _NOT_ a full DOM
implementation, and shouldn't be one since it sits alongside the
DOM rather than becoming part of the DOM model.
(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.
appendChild
public Node appendChild(Node a)
cloneNode
public Node cloneNode(boolean deep)
compareDocumentPosition
public short compareDocumentPosition(Node other)
throws DOMException
getAttributes
public NamedNodeMap getAttributes()
getBaseURI
public String getBaseURI()
getChildNodes
public NodeList getChildNodes()
getFeature
public Object getFeature(String feature,
String version)
getFirstChild
public Node getFirstChild()
getHandleOfNode
public int getHandleOfNode()
Non-DOM method, part of the temporary kluge
%REVIEW% This would be a pruning problem, but since it will always be
added to the root element and we prune on elements, we shouldn't have
to worry.
getLastChild
public Node getLastChild()
getLocalName
public String getLocalName()
getName
public String getName()
getNamespaceURI
public String getNamespaceURI()
getNextSibling
public Node getNextSibling()
getNodeName
public String getNodeName()
getNodeType
public short getNodeType()
getNodeValue
public String getNodeValue()
getOwnerDocument
public Document getOwnerDocument()
getOwnerElement
public Element getOwnerElement()
getParentNode
public Node getParentNode()
getPrefix
public String getPrefix()
getPreviousSibling
public Node getPreviousSibling()
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
getSpecified
public boolean getSpecified()
getTextContent
public String getTextContent()
throws DOMException
getUserData
public Object getUserData(String key)
getValue
public String getValue()
hasAttributes
public boolean hasAttributes()
hasChildNodes
public boolean hasChildNodes()
insertBefore
public Node insertBefore(Node a,
Node b)
isDefaultNamespace
public boolean isDefaultNamespace(String namespaceURI)
isEqualNode
public boolean isEqualNode(Node arg)
isId
public boolean isId()
isSameNode
public boolean isSameNode(Node other)
isSupported
public boolean isSupported(String feature,
String version)
lookupNamespaceURI
public String lookupNamespaceURI(String prefix)
lookupPrefix
public String lookupPrefix(String namespaceURI)
normalize
public void normalize()
removeChild
public Node removeChild(Node a)
replaceChild
public Node replaceChild(Node a,
Node b)
setNodeValue
public void setNodeValue(String value)
setPrefix
public void setPrefix(String value)
setTextContent
public void setTextContent(String textContent)
throws DOMException
setUserData
public Object setUserData(String key,
Object data,
UserDataHandler handler)
setValue
public void setValue(String value)