org.apache.axis2.saaj
Class CommentImpl

java.lang.Object
  extended by org.apache.axiom.om.impl.dom.NodeImpl
      extended by org.apache.axis2.saaj.NodeImplEx
          extended by org.apache.axis2.saaj.TextImplEx
              extended by org.apache.axis2.saaj.CommentImpl
All Implemented Interfaces:
java.lang.Cloneable, org.apache.axiom.om.impl.OMNodeEx, org.apache.axiom.om.OMNode, org.w3c.dom.CharacterData, org.w3c.dom.Comment, org.w3c.dom.Node, org.w3c.dom.NodeList

public class CommentImpl
extends TextImplEx
implements org.w3c.dom.Comment


Field Summary
 
Fields inherited from class org.apache.axis2.saaj.NodeImplEx
parentElement
 
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
DTD_NODE, PI_NODE, SPACE_NODE
 
Constructor Summary
CommentImpl(java.lang.String data, SOAPElement parent)
           
CommentImpl(java.lang.String data, SOAPElement parent, org.w3c.dom.Node prevSibling, org.w3c.dom.Node nextSibling)
           
 
Method Summary
 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.
 
Methods inherited from class org.apache.axis2.saaj.TextImplEx
appendData, deleteData, discard, getData, getNextSibling, getNodeValue, getParent, getPreviousSibling, getValue, getWholeText, insertData, internalSerialize, internalSerializeAndConsume, isElementContentWhitespace, replaceData, replaceWholeText, setData, setNextSibling, setNodeValue, setParent, setPreviousSibling, setValue, splitText, substringData, toString
 
Methods inherited from class org.apache.axis2.saaj.NodeImplEx
detach, detachNode, getParentElement, getSchemaTypeInfo, getType, recycleNode, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setParentElement, setType
 
Methods 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, getOMFactory, getOwnerDocument, getParentNode, getPrefix, getPreviousOMSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, insertSiblingAfter, insertSiblingBefore, internalSerializeWithCache, isComplete, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setOwnerDocument, setPrefix, setPreviousOMSibling, setTextContent, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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, 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 Detail

CommentImpl

public CommentImpl(java.lang.String data,
                   SOAPElement parent)

CommentImpl

public CommentImpl(java.lang.String data,
                   SOAPElement parent,
                   org.w3c.dom.Node prevSibling,
                   org.w3c.dom.Node nextSibling)
Method Detail

isComment

public boolean isComment()
Description copied from class: TextImplEx
Retrieves whether this Text object represents a comment.

Overrides:
isComment in class TextImplEx
Returns:
true if this Text object is a comment; false otherwise

getNodeName

public java.lang.String getNodeName()
Description copied from class: TextImplEx
The name of this node, depending on its type; see the table above.

Specified by:
getNodeName in interface org.w3c.dom.Node
Overrides:
getNodeName in class TextImplEx

getNodeType

public short getNodeType()
Description copied from class: TextImplEx
A code representing the type of the underlying object, as defined above.

Specified by:
getNodeType in interface org.w3c.dom.Node
Overrides:
getNodeType in class TextImplEx


Copyright © 2007 Apache Web Services Project. All Rights Reserved.