|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.llom.OMNodeImpl
org.apache.axiom.om.impl.llom.OMProcessingInstructionImpl
public class OMProcessingInstructionImpl
Field Summary | |
---|---|
protected java.lang.String |
target
|
protected java.lang.String |
value
|
Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl |
---|
builder, done, factory, nextSibling, nodeType, parent, previousSibling |
Fields inherited from interface org.apache.axiom.om.OMNode |
---|
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
Constructor Summary | |
---|---|
OMProcessingInstructionImpl(org.apache.axiom.om.OMContainer parentNode,
org.apache.axiom.om.OMFactory factory)
Constructor OMProcessingInstructionImpl. |
|
OMProcessingInstructionImpl(org.apache.axiom.om.OMContainer parentNode,
java.lang.String target,
java.lang.String value,
org.apache.axiom.om.OMFactory factory)
Constructor OMProcessingInstructionImpl. |
Method Summary | |
---|---|
void |
discard()
Discards this node. |
java.lang.String |
getTarget()
Gets the target of this Processing Instruction. |
java.lang.String |
getValue()
Gets the value of this Processing Instruction. |
void |
internalSerialize(javax.xml.stream.XMLStreamWriter writer)
Serializes the node with caching. |
void |
internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer)
Serializes the node without caching. |
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 |
---|
build, buildWithAttachments, close, detach, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, importNode, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling, setType |
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 |
---|
build, buildWithAttachments, close, detach, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Field Detail |
---|
protected java.lang.String target
protected java.lang.String value
Constructor Detail |
---|
public OMProcessingInstructionImpl(org.apache.axiom.om.OMContainer parentNode, java.lang.String target, java.lang.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
- Method Detail |
---|
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
internalSerialize
in interface org.apache.axiom.om.impl.OMNodeEx
internalSerialize
in class OMNodeImpl
writer
-
javax.xml.stream.XMLStreamException
public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
internalSerializeAndConsume
in interface org.apache.axiom.om.impl.OMNodeEx
internalSerializeAndConsume
in class OMNodeImpl
writer
-
javax.xml.stream.XMLStreamException
public java.lang.String getValue()
getValue
in interface org.apache.axiom.om.OMProcessingInstruction
public void setTarget(java.lang.String target)
setTarget
in interface org.apache.axiom.om.OMProcessingInstruction
target
- public java.lang.String getTarget()
getTarget
in interface org.apache.axiom.om.OMProcessingInstruction
public void setValue(java.lang.String text)
setValue
in interface org.apache.axiom.om.OMProcessingInstruction
text
- public void discard() throws org.apache.axiom.om.OMException
discard
in interface org.apache.axiom.om.OMNode
org.apache.axiom.om.OMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |