public class CommentImpl extends TextImplEx implements Comment
parentElement
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED
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
Constructor and Description |
---|
CommentImpl(String data,
SOAPElement parent) |
CommentImpl(String data,
SOAPElement parent,
Node prevSibling,
Node nextSibling) |
Modifier and Type | Method and Description |
---|---|
String |
getNodeName()
The name of this node, depending on its type; see the table above.
|
short |
getNodeType()
A code representing the type of the underlying object, as defined above.
|
boolean |
isComment()
Retrieves whether this
Text object represents a comment. |
appendData, deleteData, discard, getData, getNextSibling, getNodeValue, getParent, getPreviousSibling, getValue, getWholeText, insertData, internalSerialize, isElementContentWhitespace, replaceData, replaceWholeText, setData, setNextSibling, setNodeValue, setParent, setPreviousSibling, setValue, splitText, substringData, toString
detach, detachNode, getParentElement, getSchemaTypeInfo, getType, recycleNode, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setParentElement, setType
appendChild, build, buildWithAttachments, cloneNode, close, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextOMSibling, getNextOMSiblingIfAvailable, getOMFactory, getOwnerDocument, getParentNode, getPrefix, getPreviousOMSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, insertSiblingAfter, insertSiblingBefore, internalSerialize, internalSerializeAndConsume, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, serialize, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setOwnerDocument, setPrefix, setPreviousOMSibling, setTextContent, setUserData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringData
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
detachNode, getParentElement, recycleNode, setParentElement
public CommentImpl(String data, SOAPElement parent)
public CommentImpl(String data, SOAPElement parent, Node prevSibling, Node nextSibling)
public boolean isComment()
TextImplEx
Text
object represents a comment.isComment
in class TextImplEx
true
if this Text
object is a comment; false
otherwisepublic String getNodeName()
TextImplEx
getNodeName
in interface Node
getNodeName
in class TextImplEx
public short getNodeType()
TextImplEx
getNodeType
in interface Node
getNodeType
in class TextImplEx
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.