//============================================================================== // XmlTextI.java //------------------------------------------------------------------------------ package tribble.xml; // System imports import java.lang.Exception; import java.lang.String; // Local imports // (None) /******************************************************************************* * XML element text content. * *

* Contains the text content, if any, of an XML element (tagged node). * * *

* Example * *

* The following XML element: *

*    <item
*      Count="20" SKU="HG-52814(J)-F" Unit-Cost="149.95">
*      Oak business desk with <![CDATA[cherry & chrome]]> finish
*    </item> 
* *

* contains the following text content: *

*    text "Oak business desk with cherry & chrome finish" 
* * * @version $Revision: 1.1 $ $Date: 2003/04/13 22:30:26 $ * @since 2003-04-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. * * @see XmlElementI */ public interface XmlTextI extends XmlItemI { // Identification /** Revision information. */ static final String REV = "@(#)tribble/xml/XmlTextI.java $Revision: 1.1 $ $Date: 2003/04/13 22:30:26 $\n"; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Public constants // (None) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Public methods /*************************************************************************** * Retrieve the textual content of this XML text item. * * @return * Text contents of this XML item, or null if the element has no textual * contents. * * @since 1.1, 2003-04-13 */ public String getText(); /*const*/ } // End XmlTextI.java