All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.jclark.xml.parse.StartElementEvent

public interface StartElementEvent
extends LocatedEvent
Information about the start of an element.

See Also:
startElement

Method Index

 o getAttributeCount()
Returns the number of attributes.
 o getAttributeName(int)
Returns the name of the attribute with index i.
 o getAttributeSpecifiedCount()
Returns the number of attributes which were specified.
 o getAttributeUnnormalizedValue(int)
Returns the value of the specified attribute with index i before normalization.
 o getAttributeValue(int)
Returns the value of the attribute with index i.
 o 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.
 o getName()
Returns the element type name.

Methods

 o getName
 public abstract String getName()
Returns the element type name.

 o getAttributeCount
 public abstract int getAttributeCount()
Returns the number of attributes. Both specified and defaulted attributes are included. Implied attributes are not included.

 o 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.

 o 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.

 o 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.

 o getAttributeSpecifiedCount
 public abstract int getAttributeSpecifiedCount()
Returns the number of attributes which were specified. The specified attributes have indices less than the defaulted attributes.

 o getAttributeUnnormalizedValue
 public abstract String getAttributeUnnormalizedValue(int i)
Returns the value of the specified attribute with index i before normalization.


All Packages  Class Hierarchy  This Package  Previous  Next  Index