|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.validation.TypeInfoProvider
public abstract class TypeInfoProvider
Provides access to the PSVI type info supplied by
ValidatorHandler
.
Constructor Summary | |
---|---|
protected |
TypeInfoProvider()
|
Method Summary | |
---|---|
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). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TypeInfoProvider()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |