01 package javax.xml.stream.events;
02
03 /**
04 * An interface for comment events
05 *
06 * @version 1.0
07 * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved.
08 * @since 1.6
09 */
10 public interface Comment extends XMLEvent {
11
12 /**
13 * Return the string data of the comment, returns empty string if it
14 * does not exist
15 */
16 public String getText();
17 }
|