Package com.marklogic.dom
Class ProcessingInstructionImpl
- java.lang.Object
-
- com.marklogic.dom.NodeImpl
-
- com.marklogic.dom.ProcessingInstructionImpl
-
- All Implemented Interfaces:
Node,ProcessingInstruction
public class ProcessingInstructionImpl extends NodeImpl implements ProcessingInstruction
A read-only W3C DOM Node implementation on top of MarkLogic's internal representation of a processing instruction in a document as stored on disk in the expanded tree cache of a forest.This interface is effectively read-only: Setters and update methods inherited from
org.w3c.Nodeare not supported and will raise an exception if called.
-
-
Field Summary
-
Fields inherited from interface org.w3c.dom.Node
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
-
-
Constructor Summary
Constructors Constructor Description ProcessingInstructionImpl(ExpandedTree tree, int node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodecloneNode(Document doc, boolean deep)Given a owner document, clone the nodeStringgetData()StringgetNodeName()StringgetNodeValue()StringgetTarget()StringgetTextContent()Overwritten by TextImpl, CommentImpl and ProcessingInstructionImplvoidsetData(String data)Unsupported.-
Methods inherited from class com.marklogic.dom.NodeImpl
appendChild, builtinNSPrefix, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getElementsByTagNameNSOrNodeName, getExpandedTree, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextChild, getNextSibling, getNodeType, getNSNodeID, getNSNodeID, getOwnerDocument, getParentNode, getPrefix, getPrefixID, getPreviousChild, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, nextNSNodeID, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Constructor Detail
-
ProcessingInstructionImpl
public ProcessingInstructionImpl(ExpandedTree tree, int node)
-
-
Method Detail
-
cloneNode
protected Node cloneNode(Document doc, boolean deep)
Description copied from class:NodeImplGiven a owner document, clone the node
-
getData
public String getData()
- Specified by:
getDatain interfaceProcessingInstruction
-
getNodeName
public String getNodeName()
- Specified by:
getNodeNamein interfaceNode- Specified by:
getNodeNamein classNodeImpl
-
getNodeValue
public String getNodeValue()
- Specified by:
getNodeValuein interfaceNode- Overrides:
getNodeValuein classNodeImpl
-
getTarget
public String getTarget()
- Specified by:
getTargetin interfaceProcessingInstruction
-
getTextContent
public String getTextContent() throws DOMException
Overwritten by TextImpl, CommentImpl and ProcessingInstructionImpl- Specified by:
getTextContentin interfaceNode- Overrides:
getTextContentin classNodeImpl- Throws:
DOMException
-
setData
public void setData(String data) throws DOMException
Unsupported.- Specified by:
setDatain interfaceProcessingInstruction- Throws:
DOMException
-
-