|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserSchemaComponent
A SchemaComponent is an object in a schema. While the schema is being built, a list of such objects is maintained, and on completion, the fixup method is called to resolve forwards references. Subsequently, the validate method is called to invoke validation
Field Summary |
---|
Fields inherited from interface net.sf.saxon.type.SchemaComponent |
---|
FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING |
Method Summary | |
---|---|
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. |
Methods inherited from interface net.sf.saxon.type.SchemaComponent |
---|
getRedefinitionLevel, getValidationStatus |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |