Package net.sf.saxon.type
Interface SchemaComponent
- All Known Subinterfaces:
AtomicType,ComplexType,ListType,SchemaType,SimpleType
- All Known Implementing Classes:
AnySimpleType,AnyType,BuiltInAtomicType,BuiltInListType,ErrorType,NumericType,Untyped
public interface SchemaComponent
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. Since
all built-in schema components are types, every SchemaComponent in practice is either a
or a
invalid reference
com.saxonica.ee.schema.UserSchemaComponent
SchemaType or both.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionItemTypeThe function type of the function returned by getComponentAsFunction() -
Method Summary
Modifier and TypeMethodDescriptionintGet the redefinition level.Get the validation status of this component.
-
Field Details
-
COMPONENT_FUNCTION_TYPE
The function type of the function returned by getComponentAsFunction()
-
-
Method Details
-
getValidationStatus
SchemaComponent.ValidationStatus getValidationStatus()Get the validation status of this component. -
getRedefinitionLevel
int getRedefinitionLevel()Get the redefinition level. This is zero for a component that has not been redefined; for a redefinition of a level-0 component, it is 1; for a redefinition of a level-N component, it is N+1. This concept is used to support the notion of "pervasive" redefinition: if a component is redefined at several levels, the top level wins, but it is an error to have two versions of the component at the same redefinition level.- Returns:
- the redefinition level
-