net.sf.saxon.type

Interface SchemaComponent

All Superinterfaces:
Serializable
Known Subinterfaces:
AtomicType, ComplexType, ListType, SchemaType, SimpleType
Known Implementing Classes:
AnySimpleType, AnyType, BuiltInAtomicType, BuiltInListType, DotNetExternalObjectType, ExternalObjectType, Untyped

public interface SchemaComponent
extends Serializable

This is a marker interface that represents any "schema component" as defined in the XML Schema specification. This may be a user-defined schema component or a built-in schema component.

Field Summary

static int
FIXED_UP
Validation status: fixed up (all references to other components have been resolved)
static int
INCOMPLETE
Validation status: validation attempted, component contains references to other components that are not (yet) available
static int
INVALID
Validation status: validation attempted and failed with fatal errors
static int
UNVALIDATED
Validation status: not yet validated
static int
VALIDATED
Validation status: successfully validated
static int
VALIDATING
Validation status: currently being validated

Method Summary

int
getValidationStatus()
Get the validation status of this component.

Field Details

FIXED_UP

public static final int FIXED_UP
Validation status: fixed up (all references to other components have been resolved)
Field Value:
1

INCOMPLETE

public static final int INCOMPLETE
Validation status: validation attempted, component contains references to other components that are not (yet) available
Field Value:
5

INVALID

public static final int INVALID
Validation status: validation attempted and failed with fatal errors
Field Value:
4

UNVALIDATED

public static final int UNVALIDATED
Validation status: not yet validated
Field Value:
0

VALIDATED

public static final int VALIDATED
Validation status: successfully validated
Field Value:
3

VALIDATING

public static final int VALIDATING
Validation status: currently being validated
Field Value:
2

Method Details

getValidationStatus

public int getValidationStatus()
Get the validation status of this component.