Class SchemaProviderImpl

  • All Implemented Interfaces:
    org.iso_relax.dispatcher.SchemaProvider

    public class SchemaProviderImpl
    extends org.iso_relax.dispatcher.impl.AbstractSchemaProviderImpl
    implementation of SchemaProvider by using RELAX Grammar.
    Author:
    Kohsuke KAWAGUCHI
    • Constructor Detail

      • SchemaProviderImpl

        public SchemaProviderImpl​(RELAXGrammar grammar)
        creates SchemaProvider from existing RELAXGrammar. Since bind method is already called by RELAXNSReader, the application should not call bind method.
    • Method Detail

      • createTopLevelVerifier

        public org.iso_relax.dispatcher.IslandVerifier createTopLevelVerifier()
      • fromGrammar

        public static SchemaProviderImpl fromGrammar​(Grammar grammar)
        creates SchemaProvider from generic Grammar (including TREX/RELAX Core)
      • bind

        public boolean bind​(ErrorHandler handler)
        binds all IslandSchemata.