javax.xml.soap

Interface Text

All Superinterfaces:
Node, org.w3c.dom.Text
Known Implementing Classes:
CDATAImpl, CommentImpl, Text

public interface Text
extends Node, org.w3c.dom.Text

A representation of a node whose value is text. A Text object may represent text that is content or text that is a comment.

Method Summary

abstract boolean
isComment()
Retrieves whether this Text object represents a comment.

Methods inherited from interface javax.xml.soap.Node

detachNode, getParentElement, getValue, recycleNode, setParentElement, setValue

Method Details

isComment

public abstract boolean isComment()
Retrieves whether this Text object represents a comment.
Returns:
true if this Text object is a comment; false otherwise

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