Package org.apache.axis2.saaj
Class CommentImpl
java.lang.Object
org.apache.axiom.om.impl.dom.NodeImpl
org.apache.axis2.saaj.NodeImplEx
org.apache.axis2.saaj.TextImplEx
org.apache.axis2.saaj.CommentImpl
- All Implemented Interfaces:
Cloneable,Node,Text,org.apache.axiom.om.impl.OMNodeEx,org.apache.axiom.om.OMNode,org.apache.axiom.om.OMSerializable,CharacterData,Comment,Node,NodeList,Text
-
Field Summary
Fields inherited from class org.apache.axis2.saaj.NodeImplEx
parentElementFields inherited from class org.apache.axiom.om.impl.dom.NodeImpl
builder, done, factory, FIRSTCHILD, flags, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIEDFields 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_NODEFields 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
ConstructorsConstructorDescriptionCommentImpl(String data, SOAPElement parent) CommentImpl(String data, SOAPElement parent, Node prevSibling, Node nextSibling) -
Method Summary
Modifier and TypeMethodDescriptionThe name of this node, depending on its type; see the table above.shortA code representing the type of the underlying object, as defined above.booleanRetrieves whether thisTextobject represents a comment.Methods inherited from class org.apache.axis2.saaj.TextImplEx
appendData, deleteData, discard, getData, getNextSibling, getNodeValue, getParent, getPreviousSibling, getValue, getWholeText, insertData, internalSerialize, isElementContentWhitespace, replaceData, replaceWholeText, setData, setNextSibling, setNodeValue, setParent, setPreviousSibling, setValue, splitText, substringData, toStringMethods inherited from class org.apache.axis2.saaj.NodeImplEx
detach, detachNode, getParentElement, getSchemaTypeInfo, getType, recycleNode, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setParentElement, setTypeMethods inherited from class org.apache.axiom.om.impl.dom.NodeImpl
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, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.CharacterData
appendData, deleteData, getData, getLength, insertData, replaceData, setData, substringDataMethods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, recycleNode, setParentElementMethods inherited from interface org.w3c.dom.Node
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
-
Constructor Details
-
CommentImpl
-
CommentImpl
-
-
Method Details
-
isComment
public boolean isComment()Description copied from class:TextImplExRetrieves whether thisTextobject represents a comment.- Specified by:
isCommentin interfaceText- Overrides:
isCommentin classTextImplEx- Returns:
trueif thisTextobject is a comment;falseotherwise
-
getNodeName
Description copied from class:TextImplExThe name of this node, depending on its type; see the table above.- Specified by:
getNodeNamein interfaceNode- Overrides:
getNodeNamein classTextImplEx
-
getNodeType
public short getNodeType()Description copied from class:TextImplExA code representing the type of the underlying object, as defined above.- Specified by:
getNodeTypein interfaceNode- Overrides:
getNodeTypein classTextImplEx
-