    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

##

getAttributeCount()
  Returns the number of attributes.
getAttributeName(int)
  Returns the name of the attribute with index `i`.
getAttributeSpecifiedCount()
  Returns the number of attributes which were specified.
getAttributeUnnormalizedValue(int)
  Returns the value of the specified attribute with index `i` before normalization.
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.
getIdAttributeIndex()
  Returns the index of the ID attribute, or -1 if there is no ID attribute.
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.

getAttributeSpecifiedCount

     public abstract int getAttributeSpecifiedCount()

  Returns the number of attributes which were specified. The specified attributes have indices less than the defaulted attributes.

getAttributeUnnormalizedValue

     public abstract String getAttributeUnnormalizedValue(int i)

  Returns the value of the specified attribute with index `i` before normalization.

getIdAttributeIndex

     public abstract int getIdAttributeIndex()

  Returns the index of the ID attribute, or -1 if there is no ID attribute.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index