public class DOMProcessingInstructionImpl extends DOMNodeImpl implements ProcessingInstruction
adaptee
ATTRIBUTE_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, supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
protected DOMProcessingInstructionImpl(Node adaptee)
public short getNodeType()
Node
getNodeType
in interface Node
getNodeType
in class DOMNodeImpl
Node.getNodeType()
public java.lang.String getTarget()
ProcessingInstruction
getTarget
in interface ProcessingInstruction
ProcessingInstruction.getTarget()
public java.lang.String getData()
ProcessingInstruction
?>
.getData
in interface ProcessingInstruction
ProcessingInstruction.getData()
public void setData(java.lang.String data) throws DOMException
setData
in interface ProcessingInstruction
DOMException
ProcessingInstruction.setData(java.lang.String)