Class CommentEvent

java.lang.Object
javanet.staxutils.events.AbstractXMLEvent
javanet.staxutils.events.CommentEvent
All Implemented Interfaces:
Serializable, Cloneable, ExtendedXMLEvent, Comment, XMLEvent, XMLStreamConstants

public class CommentEvent extends AbstractXMLEvent implements Comment
Comment event implementation.
Version:
$Revision: 1.2 $
Author:
Christian Niles
See Also:
  • Field Details

    • text

      protected String text
      Comment text.
  • Constructor Details

    • CommentEvent

      public CommentEvent(String text)
    • CommentEvent

      public CommentEvent(String text, Location location)
    • CommentEvent

      public CommentEvent(Comment that)
      Copy constructor.
      Parameters:
      that - The comment to copy.
  • Method Details