Module java.xml

Interface Comment

All Superinterfaces:
XMLEvent, XMLStreamConstants

public interface Comment
extends XMLEvent
An interface for comment events
Since:
1.6
  • Method Details

    • getText

      String getText()
      Return the string data of the comment, returns empty string if it does not exist