|
|||||||||||
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.CharacterImpl
org.apache.axiom.om.impl.dom.CommentImpl
Field Summary |
Fields inherited from class org.apache.axiom.om.impl.dom.CharacterImpl |
textValue |
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, nodeType, 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_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 | |
CommentImpl(DocumentImpl ownerNode,
OMFactory factory)
|
|
CommentImpl(DocumentImpl ownerNode,
java.lang.String value,
OMFactory factory)
|
Method Summary | |
java.lang.String |
getNodeName()
|
short |
getNodeType()
|
int |
getType()
Returns the type of node. |
java.lang.String |
getValue()
Returns the value of this comment as defined by XPath 1.0. |
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 |
setType(int nodeType)
|
void |
setValue(java.lang.String text)
Sets the content of this comment to the specified string. |
Methods inherited from class org.apache.axiom.om.impl.dom.CharacterImpl |
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData |
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.CharacterData |
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.apache.axiom.om.OMNode |
build, detach, discard, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Constructor Detail |
public CommentImpl(DocumentImpl ownerNode, OMFactory factory)
public CommentImpl(DocumentImpl ownerNode, java.lang.String value, OMFactory factory)
Method Detail |
public java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
public java.lang.String getValue()
OMComment
getValue
in interface OMComment
public void setValue(java.lang.String text)
OMComment
setValue
in interface OMComment
text
- 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 void internalSerialize(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
OMNodeEx
internalSerialize
in interface OMNodeEx
writer
-
javax.xml.stream.XMLStreamException
public void internalSerializeAndConsume(javax.xml.stream.XMLStreamWriter writer) throws javax.xml.stream.XMLStreamException
OMNodeEx
internalSerializeAndConsume
in interface OMNodeEx
writer
-
javax.xml.stream.XMLStreamException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |