org.apache.axiom.om.impl.llom
Class OMProcessingInstructionImpl
java.lang.Object
org.apache.axiom.om.impl.llom.OMSerializableImpl
org.apache.axiom.om.impl.llom.OMNodeImpl
org.apache.axiom.om.impl.llom.OMLeafNode
org.apache.axiom.om.impl.llom.OMProcessingInstructionImpl
- All Implemented Interfaces:
- IChildNode, OMNodeEx, OMInformationItem, OMNode, OMProcessingInstruction, OMSerializable
public class OMProcessingInstructionImpl
- extends OMLeafNode
- implements OMProcessingInstruction
|
Field Summary |
protected java.lang.String |
target
|
protected java.lang.String |
value
|
|
Method Summary |
java.lang.String |
getTarget()
Gets the target of this Processing Instruction. |
int |
getType()
|
java.lang.String |
getValue()
Gets the value of this Processing Instruction. |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
Serializes the node. |
void |
setTarget(java.lang.String target)
Sets the target of this Processing Instruction. |
void |
setValue(java.lang.String text)
Sets the value of this Processing Instruction. |
| Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl |
buildWithAttachments, clone, detach, getIParentNode, getNextOMSibling, getNextOMSiblingIfAvailable, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, setNextOMSibling, setParent, setPreviousOMSibling |
| Methods inherited from class org.apache.axiom.om.impl.llom.OMSerializableImpl |
close, getOMFactory, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.axiom.om.OMNode |
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
target
protected java.lang.String target
value
protected java.lang.String value
OMProcessingInstructionImpl
public OMProcessingInstructionImpl(OMContainer parentNode,
java.lang.String target,
java.lang.String value,
OMFactory factory,
boolean fromBuilder)
- Constructor OMProcessingInstructionImpl.
- Parameters:
parentNode - target - value -
getType
public final int getType()
- Specified by:
getType in interface OMNode
internalSerialize
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer,
boolean cache)
throws javax.xml.stream.XMLStreamException
- Description copied from class:
OMSerializableImpl
- Serializes the node.
- Specified by:
internalSerialize in interface OMNodeEx- Specified by:
internalSerialize in class OMSerializableImpl
- Throws:
javax.xml.stream.XMLStreamException
getValue
public java.lang.String getValue()
- Gets the value of this Processing Instruction.
- Specified by:
getValue in interface OMProcessingInstruction
- Returns:
- string
setTarget
public void setTarget(java.lang.String target)
- Sets the target of this Processing Instruction.
- Specified by:
setTarget in interface OMProcessingInstruction
- Parameters:
target -
getTarget
public java.lang.String getTarget()
- Gets the target of this Processing Instruction.
- Specified by:
getTarget in interface OMProcessingInstruction
- Returns:
- Returns String.
setValue
public void setValue(java.lang.String text)
- Sets the value of this Processing Instruction.
- Specified by:
setValue in interface OMProcessingInstruction
- Parameters:
text -
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.