org.apache.axis.message

Class CommentImpl

Implemented Interfaces:
Cloneable, Comment, Node, Serializable, Text

public class CommentImpl
extends Text
implements Text, Comment

Most of methods are inherited from TEXT, defined for its Interface Marker only
Author:
Heejune Ahn (cityboy@tmax.co.kr)

Field Summary

Fields inherited from class org.apache.axis.message.NodeImpl

_isDirty, attributes, children, document, log, name, namespaceURI, parent, prefix, textRep

Constructor Summary

CommentImpl(String text)

Method Summary

boolean
isComment()
Retrieves whether this Text object represents a comment.
org.w3c.dom.Text
splitText(int offset)
Use the textRep, and convert it to org.apache.axis.Text in order to keep the Axis SOAP strcture after operation This work would be easier if constructor, Text(org.w3c.dom.Text) is defined

Methods inherited from class org.apache.axis.message.Text

appendData, deleteData, equals, getData, getLength, getNodeValue, getWholeText, hashCode, insertData, isComment, isElementContentWhitespace, replaceData, replaceWholeText, setData, setNodeValue, splitText, substringData, toString

Methods inherited from class org.apache.axis.message.NodeImpl

appendChild, cloneNode, compareDocumentPosition, convertAttrSAXtoDOM, detachNode, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParent, getParentElement, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getTextContent, getUserData, getValue, hasAttributes, hasChildNodes, initializeChildren, insertBefore, isDefaultNamespace, isDirty, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, makeAttributesEditable, normalize, output, recycleNode, removeChild, replaceChild, setDirty, setIdAttribute, setIdAttributeNS, setIdAttributeNode, setNodeValue, setOwnerDocument, setParent, setParentElement, setPrefix, setTextContent, setUserData, setValue

Constructor Details

CommentImpl

public CommentImpl(String text)

Method Details

isComment

public boolean isComment()
Retrieves whether this Text object represents a comment.
Specified by:
isComment in interface Text
Overrides:
isComment in interface Text
Returns:
true if this Text object is a comment; false otherwise

splitText

public org.w3c.dom.Text splitText(int offset)
            throws DOMException
Use the textRep, and convert it to org.apache.axis.Text in order to keep the Axis SOAP strcture after operation This work would be easier if constructor, Text(org.w3c.dom.Text) is defined
Overrides:
splitText in interface Text
Parameters:
offset -
Returns:
Since:
SAAJ 1.2

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.