//============================================================================== // XmlCommentI.java //------------------------------------------------------------------------------ package tribble.xml; // System imports import java.lang.Exception; import java.lang.String; // Local imports // (None) /******************************************************************************* * XML comment. * *

* Contains the textual contents of an XML comment. * * *

* Example * *

* The following XML document: *

*    <!-- Generated: 2003-05-13 21:36 Z -->
*    <item
*      Count="20" SKU="HG-52814(J)-F" Unit-Cost="149.95">
*      <!--
*      ! Table: 'INV03'
*      ! Query: SKU='HG-52814(J)-F'
*      !-->
*      Oak business desk with <![CDATA[cherry & chrome]]> finish
*    </item> 
* *

* contains two comments: *

*    comment " Generated: 2003-05-13 21:36 Z "
*    comment "\n! Table: 'INV03'\n! Query: SKU='HG-52814(J)-F'\n" 
* * * @version $Revision: 1.1 $ $Date: 2003/05/14 02:42:35 $ * @since 2003-05-13 * @author * David R. Tribble * (david@tribble.com). *
* Copyright ©2003 by David R. Tribble, all rights reserved. *
* Permission is granted to freely use and distribute this source code * provided that the original copyright and authorship notices remain * intact. */ public interface XmlCommentI extends XmlItemI { // Identification /** Revision information. */ static final String REV = "@(#)tribble/xml/XmlCommentI.java $Revision: 1.1 $ $Date: 2003/05/14 02:42:35 $\n"; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Public constants // (None) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Public methods /*************************************************************************** * Retrieve the textual content of this XML comment. * * @return * Text contents of this XML comment, which can be empty (""). * * @since 1.1, 2003-05-13 */ public String getText(); /*const*/ } // End XmlCommentI.java