com.sun.xml.messaging.saaj.soap.impl
Class CommentImpl

java.lang.Object
  extended by com.sun.org.apache.xerces.internal.dom.NodeImpl
      extended by com.sun.org.apache.xerces.internal.dom.ChildNode
          extended by com.sun.org.apache.xerces.internal.dom.CharacterDataImpl
              extended by com.sun.org.apache.xerces.internal.dom.CommentImpl
                  extended by com.sun.xml.messaging.saaj.soap.impl.CommentImpl
All Implemented Interfaces:
Serializable, Cloneable, CharacterData, Comment, EventTarget, Node, NodeList, Text

public class CommentImpl
extends com.sun.org.apache.xerces.internal.dom.CommentImpl
implements javax.xml.soap.Text, Comment

See Also:
Serialized Form

Field Summary
protected static Logger log
           
protected static ResourceBundle rb
           
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.CharacterDataImpl
data
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode
nextSibling, previousSibling
 
Fields inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE
 
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(SOAPDocumentImpl ownerDoc, String text)
           
 
Method Summary
 void detachNode()
           
 javax.xml.soap.SOAPElement getParentElement()
           
 String getValue()
           
 String getWholeText()
           
 boolean isComment()
           
 boolean isElementContentWhitespace()
           
 void recycleNode()
           
 Text replaceWholeText(String content)
           
 void setParentElement(javax.xml.soap.SOAPElement element)
           
 void setValue(String text)
           
 Text splitText(int offset)
           
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.CommentImpl
getNodeName, getNodeType
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.CharacterDataImpl
appendData, deleteData, getChildNodes, getData, getLength, getNodeValue, insertData, replaceData, setData, setNodeValue, setNodeValueInternal, setNodeValueInternal, substringData
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.ChildNode
cloneNode, getNextSibling, getParentNode, getPreviousSibling
 
Methods inherited from class com.sun.org.apache.xerces.internal.dom.NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getBaseURI, getContainer, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeNumber, getOwnerDocument, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, getUserDataRecord, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, needsSyncChildren, normalize, removeChild, removeEventListener, replaceChild, setPrefix, setReadOnly, setTextContent, setUserData, setUserData, synchronizeData, toString
 
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, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Field Detail

log

protected static final Logger log

rb

protected static ResourceBundle rb
Constructor Detail

CommentImpl

public CommentImpl(SOAPDocumentImpl ownerDoc,
                   String text)
Method Detail

getValue

public String getValue()

setValue

public void setValue(String text)

setParentElement

public void setParentElement(javax.xml.soap.SOAPElement element)
                      throws javax.xml.soap.SOAPException
Throws:
javax.xml.soap.SOAPException

getParentElement

public javax.xml.soap.SOAPElement getParentElement()

detachNode

public void detachNode()

recycleNode

public void recycleNode()

isComment

public boolean isComment()

splitText

public Text splitText(int offset)
               throws DOMException
Specified by:
splitText in interface Text
Throws:
DOMException

replaceWholeText

public Text replaceWholeText(String content)
                      throws DOMException
Specified by:
replaceWholeText in interface Text
Throws:
DOMException

getWholeText

public String getWholeText()
Specified by:
getWholeText in interface Text

isElementContentWhitespace

public boolean isElementContentWhitespace()
Specified by:
isElementContentWhitespace in interface Text


Copyright © 2012 Oracle. All Rights Reserved.