public class DOMProcessingInstructionImpl extends DOMNodeImpl implements ProcessingInstruction
adapteeATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Modifier | Constructor and Description |
|---|---|
protected |
DOMProcessingInstructionImpl(Node adaptee) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getData()
The content of this processing instruction.
|
short |
getNodeType()
A code representing the type of the underlying object, as defined above.
|
java.lang.String |
getTarget()
The target of this processing instruction.
|
void |
setData(java.lang.String data) |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix, supportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefixprotected DOMProcessingInstructionImpl(Node adaptee)
public short getNodeType()
NodegetNodeType in interface NodegetNodeType in class DOMNodeImplNode.getNodeType()public java.lang.String getTarget()
ProcessingInstructiongetTarget in interface ProcessingInstructionProcessingInstruction.getTarget()public java.lang.String getData()
ProcessingInstruction?>.getData in interface ProcessingInstructionProcessingInstruction.getData()public void setData(java.lang.String data)
throws DOMException
setData in interface ProcessingInstructionDOMExceptionProcessingInstruction.setData(java.lang.String)