Javax.xml.validation.TypeInfoProvider Class



Introduction

The javax.xml.validation.TypeInfoProvider class provides access to the type information determined by ValidatorHandler.

Class declaration

Following is the declaration for javax.xml.validation.TypeInfoProvider class −

public abstract class TypeInfoProvider
   extends Object

Class constructors

S.N. Constructor & Description
1 protected TypeInfoProvider()

This is the constructor for derived classes.

Class methods

S.N. Method & Description
1

abstract TypeInfo getAttributeTypeInfo(int index)

This method returns the immutable TypeInfo object for the specified attribute of the current element.

2

abstract TypeInfo getElementTypeInfo()

This method returns the immutable TypeInfo object for the current element.

3

abstract boolean isIdAttribute(int index)

This method Returns true if the specified attribute is determined to be ID.

4

abstract boolean isSpecified(int index)

This method Returns false if the attribute was added by the validator.

Methods inherited

This class inherits methods from the following classes −

java.lang.Object

Advertisements