tribble.xml
Interface XmlElementI

All Superinterfaces:
XmlItemI

public interface XmlElementI
extends XmlItemI

XML element (tagged node).

Contains the name and namespace of a tagged XML element.

Since:
2003-04-13
Version:
$Revision: 1.1 $ $Date: 2003/04/13 22:30:09 $
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, XmlTextI

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 element.
 java.lang.String getNamespace()
          Retrieve the namespace name of this XML element.
 
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 element.

Returns:
Name (tag) of this tagged element.
Since:
1.1, 2003-04-13

getNamespace

public java.lang.String getNamespace()
Retrieve the namespace name of this XML element.

Returns:
Namespace (tag) of this tagged element, which may be empty ("") if the element has no namespace prefix.
Since:
1.2, 2003-04-16