Package Summary  Overview Summary

class:Comment [NONE]

All Superinterfaces:
XMLEvent, XMLStreamConstants

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

method:getText() [NONE]

  • getText

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

© 2023 Oracle Corporation and/or its affiliates