tribble.xml
Interface XmlDirectiveI

All Superinterfaces:
XmlItemI

public interface XmlDirectiveI
extends XmlItemI

XML directive.

Contains the name of a tagged XML directive.

An XML directive may contain one or more attributes (see 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" 

Since:
2003-05-18
Version:
$Revision: 1.1 $ $Date: 2003/05/18 23:44:04 $
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 Also:
XmlAttributeI

Field Summary
static java.lang.String REV
          Revision information.
 
Fields inherited from interface tribble.xml.XmlItemI
TYPE_ATTRIBUTE, TYPE_COMMENT, TYPE_DIRECTIVE, TYPE_ELEMENT, TYPE_TEXT, TYPE_UNKNOWN
 
Method Summary
 java.lang.String getName()
          Retrieve the name of this XML directive.
 
Methods inherited from interface tribble.xml.XmlItemI
getColumnNumber, getLineNumber, getParentElement, getType
 

Field Detail

REV

public static final java.lang.String REV
Revision information.

See Also:
Constant Field Values
Method Detail

getName

public java.lang.String getName()
Retrieve the name of this XML directive.

Returns:
Name (tag) of this tagged directive.
Since:
1.1, 2003-05-18