All Packages Class Hierarchy This Package Previous Next Index
Interface com.jclark.xml.parse.StartElementEvent
- public interface StartElementEvent
Information about the start of an element.
- See Also:
- startElement
-
getAttributeCount()
- Returns the number of attributes.
-
getAttributeName(int)
- Returns the name of the attribute with index
i
.
-
getAttributeValue(int)
- Returns the value of the attribute with index
i
.
-
getAttributeValue(String)
- Returns the value of the attribute with the specified name,
Returns null if there is no such attribute, or if the
value of the attribute was implied.
-
getName()
- Returns the element type name.
getName
public abstract String getName()
- Returns the element type name.
getAttributeCount
public abstract int getAttributeCount()
- Returns the number of attributes.
Both specified and defaulted attributes are included.
Implied attributes are not included.
getAttributeName
public abstract String getAttributeName(int i)
- Returns the name of the attribute with index
i
.
i
must be greater than or equal to 0
and less that the number of attributes returned
by getAttributeCount
.
getAttributeValue
public abstract String getAttributeValue(int i)
- Returns the value of the attribute with index
i
.
i
must be greater than or equal to 0
and less that the number of attributes returned
by getAttributeCount
.
The value does not include the surrounding quotes.
getAttributeValue
public abstract String getAttributeValue(String name)
- Returns the value of the attribute with the specified name,
Returns null if there is no such attribute, or if the
value of the attribute was implied.
All Packages Class Hierarchy This Package Previous Next Index