public class CommentImpl extends TextImplEx implements org.w3c.dom.Comment
parentElementbuilder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIEDATTRIBUTE_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(java.lang.String data,
javax.xml.soap.SOAPElement parent) |
CommentImpl(java.lang.String data,
javax.xml.soap.SOAPElement parent,
org.w3c.dom.Node prevSibling,
org.w3c.dom.Node nextSibling) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.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, toStringdetach, detachNode, getParentElement, getSchemaTypeInfo, getType, recycleNode, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setParentElement, setTypeappendChild, 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, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataappendChild, 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, setUserDatapublic CommentImpl(java.lang.String data,
javax.xml.soap.SOAPElement parent)
public CommentImpl(java.lang.String data,
javax.xml.soap.SOAPElement parent,
org.w3c.dom.Node prevSibling,
org.w3c.dom.Node nextSibling)
public boolean isComment()
TextImplExText object represents a comment.isComment in class TextImplExtrue if this Text object is a comment; false
otherwisepublic java.lang.String getNodeName()
TextImplExgetNodeName in interface org.w3c.dom.NodegetNodeName in class TextImplExpublic short getNodeType()
TextImplExgetNodeType in interface org.w3c.dom.NodegetNodeType in class TextImplExCopyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.