Returns the immutable TypeInfo object for the specified
attribute of the current element.
The method may only be called by the startElement event of
the org.xml.sax.ContentHandler that the application sets to the
ValidatorHandler.
index
| The index of the attribute. The same index for
the org.xml.sax.Attributes object passed to the
startElement callback. |
TypeInfo object that represents the
type of the specified attribute.
Note that the caller can keep references to the obtained
TypeInfo longer than the callback scope.
Otherwise, this method returns
null if the validator is unable to
determine the type.
IndexOutOfBoundsException
| If the index is invalid. | |
IllegalStateException
| If this method is called from other org.xml.sax.ContentHandler
methods. |
Diagram: validation