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:
Cloneable, CharacterData, Comment, Node, NodeList, Text

public class CommentImpl
extends TextImplEx
implements 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, HAS_PARENT, 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
 
Constructor Summary
CommentImpl(String data, SOAPElement parent)
           
CommentImpl(String data, SOAPElement parent, Node prevSibling, Node nextSibling)
           
 
Method Summary
 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, getOwnerDocument, getParent, getPreviousSibling, getValue, getWholeText, insertData, internalSerialize, isElementContentWhitespace, replaceData, replaceWholeText, setData, setNextSibling, setNodeValue, setParent, setPreviousSibling, setValue, splitText, substringData, toString
 
Methods inherited from class org.apache.axis2.saaj.NodeImplEx
detach, detachNode, getParentElement, getParentNode, getSchemaTypeInfo, getType, recycleNode, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setParentElement, setType
 
Methods inherited from class org.apache.axiom.om.impl.dom.NodeImpl
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getOMFactory, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, 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
 
Methods inherited from interface javax.xml.soap.Node
detachNode, getParentElement, recycleNode, setParentElement
 

Constructor Detail

CommentImpl

public CommentImpl(String data,
                   SOAPElement parent)

CommentImpl

public CommentImpl(String data,
                   SOAPElement parent,
                   Node prevSibling,
                   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 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 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 Node
Overrides:
getNodeType in class TextImplEx


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.