public class OMProcessingInstructionImpl extends OMNodeImpl implements OMProcessingInstruction
| Modifier and Type | Field and Description |
|---|---|
protected String |
target |
protected String |
value |
nextSibling, nodeType, parent, previousSiblingbuilder, done, factoryCDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE| Constructor and Description |
|---|
OMProcessingInstructionImpl(OMContainer parentNode,
OMFactory factory)
Constructor OMProcessingInstructionImpl.
|
OMProcessingInstructionImpl(OMContainer parentNode,
String target,
String value,
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, serializeAndConsumebuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumepublic OMProcessingInstructionImpl(OMContainer parentNode, String target, String value, OMFactory factory)
parentNode - target - value - public OMProcessingInstructionImpl(OMContainer parentNode, OMFactory factory)
parentNode - public void internalSerialize(XMLStreamWriter writer, boolean cache) throws XMLStreamException
OMSerializableImplinternalSerialize in interface OMNodeExinternalSerialize in class OMSerializableImplcache - indicates if caching should be enabledXMLStreamExceptionpublic String getValue()
getValue in interface OMProcessingInstructionpublic void setTarget(String target)
setTarget in interface OMProcessingInstructiontarget - public String getTarget()
getTarget in interface OMProcessingInstructionpublic void setValue(String text)
setValue in interface OMProcessingInstructiontext - public void discard()
throws OMException
discard in interface OMNodeOMExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.