1 package javax.xml.stream.events; 2 3 /** 4 * An interface for comment events 5 * 6 * @version 1.0 7 * @author Copyright (c) 2003 by BEA Systems. All Rights Reserved. 8 * @since 1.6 9 */ 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 } 18