javax.xml.validation
public abstract class TypeInfoProvider extends Object
ValidatorHandler
.Modifier | Constructor and Description |
---|---|
protected |
TypeInfoProvider() |
Modifier and Type | Method and Description |
---|---|
abstract TypeInfo |
getAttributeTypeInfo(int index)
Returns the type information for the specified attribute of the current
element.
|
abstract TypeInfo |
getElementTypeInfo()
Returns the type information for the current element.
|
abstract boolean |
isIdAttribute(int index)
Indicates if the attribute at the specified index is of the ID type.
|
abstract boolean |
isSpecified(int index)
Returns false if the attribute was defaulted (added by the validator).
|
protected TypeInfoProvider()
public abstract TypeInfo getElementTypeInfo()
public abstract TypeInfo getAttributeTypeInfo(int index)
index
- the attribute index as for the Attributes object passed to
the startElement callbackpublic abstract boolean isIdAttribute(int index)
index
- the attribute index as for the Attributes object passed to
the startElement callbackpublic abstract boolean isSpecified(int index)
index
- the attribute index as for the Attributes object passed to
the startElement callback