Top Description Methods
javax.xml.soap

public Interface Text

extends Node, 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.
Since
1.6

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if this Text object is a comment; false otherwise
isComment
()

Retrieves whether this Text object represents a comment.

Inherited from javax.xml.soap.Node:
detachNodegetParentElementgetValuerecycleNodesetParentElementsetValue
Inherited from org.w3c.dom.Text:
getWholeTextisElementContentWhitespacereplaceWholeTextsplitText

Method Detail

isCommentback to summary
public boolean isComment()

Retrieves whether this Text object represents a comment.

Returns:boolean

true if this Text object is a comment; false otherwise