public class OMProcessingInstructionImpl extends OMNodeImpl implements org.apache.axiom.om.OMProcessingInstruction
| Modifier and Type | Field and Description |
|---|---|
protected String |
target |
protected String |
value |
nextSibling, nodeType, parent, previousSiblingbuilder, done, factory| Constructor and Description |
|---|
OMProcessingInstructionImpl(org.apache.axiom.om.OMContainer parentNode,
org.apache.axiom.om.OMFactory factory)
Constructor OMProcessingInstructionImpl.
|
OMProcessingInstructionImpl(org.apache.axiom.om.OMContainer parentNode,
String target,
String value,
org.apache.axiom.om.OMFactory factory)
Constructor OMProcessingInstructionImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
discard()
Discards this node.
|
String |
getTarget()
Gets the target of this Processing Instruction.
|
String |
getValue()
Gets the value of this Processing Instruction.
|
void |
internalSerialize(XMLStreamWriter writer,
boolean cache)
Serializes the node.
|
void |
setTarget(String target)
Sets the target of this Processing Instruction.
|
void |
setValue(String text)
Sets the value of this Processing Instruction.
|
buildWithAttachments, detach, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, getType, importNode, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling, setTypebuild, close, getOMFactory, isComplete, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildWithAttachments, detach, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsumepublic OMProcessingInstructionImpl(org.apache.axiom.om.OMContainer parentNode,
String target,
String value,
org.apache.axiom.om.OMFactory factory)
parentNode - target - value - public OMProcessingInstructionImpl(org.apache.axiom.om.OMContainer parentNode,
org.apache.axiom.om.OMFactory factory)
parentNode - public void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializableImplinternalSerialize in interface org.apache.axiom.om.impl.OMNodeExinternalSerialize in class OMSerializableImplXMLStreamExceptionpublic String getValue()
getValue in interface org.apache.axiom.om.OMProcessingInstructionpublic void setTarget(String target)
setTarget in interface org.apache.axiom.om.OMProcessingInstructiontarget - public String getTarget()
getTarget in interface org.apache.axiom.om.OMProcessingInstructionpublic void setValue(String text)
setValue in interface org.apache.axiom.om.OMProcessingInstructiontext - public void discard()
throws org.apache.axiom.om.OMException
discard in interface org.apache.axiom.om.OMNodeorg.apache.axiom.om.OMExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.