|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.dom.NodeImpl
org.apache.axiom.om.impl.dom.ChildNode
org.apache.axiom.om.impl.dom.ProcessingInstructionImpl
public class ProcessingInstructionImpl
Field Summary |
---|
Fields inherited from class org.apache.axiom.om.impl.dom.ChildNode |
---|
nextSibling, parentNode, previousSibling |
Fields inherited from class org.apache.axiom.om.impl.dom.NodeImpl |
---|
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED |
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
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 | |
---|---|
ProcessingInstructionImpl(DocumentImpl ownerDocument,
String target,
String value,
OMFactory factory)
|
Method Summary | |
---|---|
String |
getData()
|
String |
getNodeName()
|
short |
getNodeType()
|
String |
getNodeValue()
|
String |
getTarget()
Gets the target of this Processing Instruction. |
int |
getType()
Returns the type of node. |
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 |
setData(String data)
|
void |
setTarget(String target)
Sets the target of this Processing Instruction. |
void |
setType(int nodeType)
|
void |
setValue(String text)
Sets the value of this Processing Instruction. |
Methods inherited from class org.apache.axiom.om.impl.dom.ChildNode |
---|
cloneNode, detach, discard, getNextOMSibling, getNextSibling, getParent, getParentNode, getPreviousOMSibling, getPreviousSibling, insertSiblingAfter, insertSiblingBefore, setNextOMSibling, setParent, setPreviousOMSibling |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Methods inherited from interface org.apache.axiom.om.OMNode |
---|
build, buildWithAttachments, close, detach, discard, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Constructor Detail |
---|
public ProcessingInstructionImpl(DocumentImpl ownerDocument, String target, String value, OMFactory factory)
Method Detail |
---|
public int getType()
OMNode
getType
in interface OMNode
OMNode.ELEMENT_NODE
, OMNode.TEXT_NODE
, OMNode.CDATA_SECTION_NODE
,
OMNode.COMMENT_NODE
, OMNode.DTD_NODE
, OMNode.PI_NODE
, OMNode.ENTITY_REFERENCE_NODE
, OMNode.SPACE_NODE
, or OMNode.TEXT_NODE
.public void setType(int nodeType) throws OMException
setType
in interface OMNodeEx
OMException
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
public String getTarget()
OMProcessingInstruction
getTarget
in interface OMProcessingInstruction
getTarget
in interface org.w3c.dom.ProcessingInstruction
public void setTarget(String target)
OMProcessingInstruction
setTarget
in interface OMProcessingInstruction
public String getValue()
OMProcessingInstruction
getValue
in interface OMProcessingInstruction
public void setValue(String text)
OMProcessingInstruction
setValue
in interface OMProcessingInstruction
public String getData()
getData
in interface org.w3c.dom.ProcessingInstruction
public void setData(String data) throws org.w3c.dom.DOMException
setData
in interface org.w3c.dom.ProcessingInstruction
org.w3c.dom.DOMException
public String getNodeName()
getNodeName
in interface org.w3c.dom.Node
public String getNodeValue() throws org.w3c.dom.DOMException
getNodeValue
in interface org.w3c.dom.Node
getNodeValue
in class NodeImpl
org.w3c.dom.DOMException
public void internalSerialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
OMNodeEx
internalSerialize
in interface OMNodeEx
javax.xml.stream.XMLStreamException
public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
OMNodeEx
internalSerializeAndConsume
in interface OMNodeEx
javax.xml.stream.XMLStreamException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |