|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface XMLDeclaration
Common interface of all classes representing XML declarations ("<?xml version="1.0" encoding="UTF-8"?>") in XML documents.
| Method Summary | |
|---|---|
AttributeEnumeration |
enumerateAttributes()
Returns an enumeration of the attributes of this tag. |
Attribute |
getAttribute(Characters AttrName)
Returns a reference to the specified attribute of this tag, or null if this tag has no such attribute. |
String |
getAttribute(String AttrName)
Returns a String representing the value of the requested attribute of this tag, or null
if this tag has no such attribute. |
String |
getEncoding()
Convenience method for getting the value of the "encoding" attribute, if any. |
String |
getVersion()
Convenience method for getting the value of the "version" attribute, if any. |
Iterator<Attribute> |
iterator()
Returns an iterator for the attributes of this tag. |
| Methods inherited from interface edu.utexas.its.eis.tools.qwicap.template.xml.structure.Item |
|---|
contentEquals, getContent |
| Methods inherited from interface edu.utexas.its.eis.tools.qwicap.template.xml.structure.Range |
|---|
clone, isEmptyTag, isEndTag, isStartTag, isTagWithAttributes, rangeEquals, toString, write |
| Method Detail |
|---|
String getVersion()
null if there is no such
attribute.String getEncoding()
null if there is no such
attribute.Attribute getAttribute(Characters AttrName)
null if this tag has no such attribute.
AttrName - The name of the attribute to retrieve from this tag.
null if this tag
has no such attribute.String getAttribute(String AttrName)
String representing the value of the requested attribute of this tag, or null
if this tag has no such attribute.
AttrName - The name of the attribute whose value should be retrieved.
String representing the value of the requested attribute of this tag,
or null if this tag has no such attribute.AttributeEnumeration enumerateAttributes()
Iterable interface, which
makes possible the use of Java 1.5's "for each" loop, is also supported by this interface.
iterator()Iterator<Attribute> iterator()
iterator in interface Iterable<Attribute>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||