//============================================================================== // XmlDirectiveI.java //------------------------------------------------------------------------------ package tribble.xml; // System imports import java.io.IOException; import java.io.Reader; import java.lang.Exception; import java.lang.String; // Local imports // (None) /******************************************************************************* * XML directive. * *

* Contains the name of a tagged XML directive. * *

* An XML directive may contain one or more attributes * (see {@link XmlAttributeI}). * * *

* Example * *

* Consider the following XML document: *

*    <?xml version='1.0' standalone='yes'?>
*    <item>
*    </item> 
* *

* It contains the following directive and attributes: *

*    directive  "xml"
*      attribute  "version", "1.0"
*      attribute  "standalone", "yes" 
* * * @version $Revision: 1.1 $ $Date: 2003/05/18 23:44:04 $ * @since 2003-05-18 * @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 XmlAttributeI */ public interface XmlDirectiveI extends XmlItemI { // Identification /** Revision information. */ static final String REV = "@(#)tribble/xml/XmlDirectiveI.java $Revision: 1.1 $ $Date: 2003/05/18 23:44:04 $\n"; // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Public constants // (None) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Public methods /*************************************************************************** * Retrieve the name of this XML directive. * * @return * Name (tag) of this tagged directive. * * @since 1.1, 2003-05-18 */ public String getName(); /*const*/ } // End XmlDirectiveI.java