Interface ISchemaListener

All Known Implementing Classes:
SchemaContextTracker, ValidationContext

public interface ISchemaListener
Listener for schema changes during traversal. The appropriate method is called when entering or exiting a schema.
Author:
Dennis M. Sosnoski
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Enter schema.
    void
    Exit schema.
  • Method Details

    • enterSchema

      boolean enterSchema(SchemaElement schema)
      Enter schema. This is called before beginning the traversal of a schema, including both standalone schemas and referenced schemas.
      Parameters:
      schema -
      Returns:
      true if schema should be entered, false if not
    • exitSchema

      void exitSchema()
      Exit schema. This is called when the tranversal of a schema is completed.