public interface UserSchemaComponent extends SchemaComponent
COMPONENT_FUNCTION_TYPE, FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING
Modifier and Type | Method and Description |
---|---|
void |
elaborate(SchemaCompiler compiler)
Elaborate the schema component: after reloading a serialized schema component model,
this expands the component with derived information needed during validation episodes.
|
boolean |
fixup(SchemaCompiler compiler)
Check references from this component to other components
|
void |
lookForCycles(Stack references,
SchemaCompiler compiler)
This method is called to look for cycles.
|
boolean |
validate(SchemaCompiler compiler)
Checks the validity of this Schema component.
|
getComponentAsFunction, getRedefinitionLevel, getValidationStatus
boolean fixup(SchemaCompiler compiler) throws SchemaException
compiler
- SchemaException
void lookForCycles(Stack references, SchemaCompiler compiler) throws SchemaException, UnresolvedReferenceException
references
- A stack of objects that contain direct or indirect references
to this object, and that must therefore not be referred to from this object.compiler
- SchemaException
UnresolvedReferenceException
boolean validate(SchemaCompiler compiler) throws SchemaException
compiler
- SchemaException
- if the ErrorListener decides that an error is fatal.void elaborate(SchemaCompiler compiler) throws SchemaException
compiler
- SchemaException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.