org.xml.sax.ext.Attributes2.isSpecified
method
public isSpecified(index as Int) as Boolean
Description

Reports whether the indexed attribute was specified in the source text.

Parameters
ParameterDescription
indexZero-based attribute index.
Returns

True when the attribute was explicitly specified.

Throws
  • IndexException if the index does not identify an attribute.
Example
specified = attrs.isSpecified(0)