
com.saxonica.schema
Interface CircularityChecker
- All Known Implementing Classes:
- AttributeGroup, AttributeGroupDecl, AttributeGroupReference, Compositor, Group, UserComplexType
- public interface CircularityChecker
This interface represents an object that is capable of participating in
a cycle. This supports a generic mechanism for checking for cycles occurring
in a schema (or potentially, anywhere else).
|
Method Summary |
void |
lookForCycles(Schema schema,
java.util.Stack references)
This method is called to look for cycles. |
lookForCycles
public void lookForCycles(Schema schema,
java.util.Stack references)
throws SchemaException
- This method is called to look for cycles. The object implementing this
method is required (a) to raise an exception if the object itself appears
in the list of references, (b) to add itself to the list of references, and
(c) to call the lookForCycles method on all the objects that it references.
- Parameters:
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.
- Throws:
SchemaException
Stylus Studio features integrated development and debugging support for Saxon in the XQuery editor and XSLT editor.