|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
boolean |
fixup(PreparedSchema schema)
Check references from this component to other components |
void |
lookForCycles(PreparedSchema schema,
java.util.Stack references)
This method is called to look for cycles. |
boolean |
validate(PreparedSchema schema)
Checks the validity of this Schema component. |
Methods inherited from interface net.sf.saxon.type.SchemaComponent |
getValidationStatus |
Method Detail |
public boolean fixup(PreparedSchema schema) throws SchemaException
schema
- The schema is used for reporting errors
SchemaException
public void lookForCycles(PreparedSchema schema, java.util.Stack references) throws SchemaException, UnresolvedReferenceException
schema
- 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.
SchemaException
UnresolvedReferenceException
public boolean validate(PreparedSchema schema) throws SchemaException, ValidationException
schema
- if this is not null, any errors that are detected should
be reported using the error() method of this schema.
SchemaException
- if the ErrorListener decides that an error is fatal.
ValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |