Module java.xml.ws
Package javax.xml.soap

Interface Text

  • All Superinterfaces:
    CharacterData , Node , Node , Text


    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 Detail

      • isComment

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