Package com.sun.msv.relaxns.verifier
Class SchemaProviderImpl
java.lang.Object
org.iso_relax.dispatcher.impl.AbstractSchemaProviderImpl
com.sun.msv.relaxns.verifier.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
-
Field Summary
Fields inherited from class org.iso_relax.dispatcher.impl.AbstractSchemaProviderImpl
schemata
-
Constructor Summary
ConstructorDescriptionSchemaProviderImpl
(RELAXGrammar grammar) creates SchemaProvider from existing RELAXGrammar. -
Method Summary
Modifier and TypeMethodDescriptionboolean
bind
(ErrorHandler handler) binds all IslandSchemata.org.iso_relax.dispatcher.IslandVerifier
static SchemaProviderImpl
fromGrammar
(Grammar grammar) creates SchemaProvider from generic Grammar (including TREX/RELAX Core)Methods inherited from class org.iso_relax.dispatcher.impl.AbstractSchemaProviderImpl
addSchema, getSchemaByNamespace, getSchemata, iterateNamespace
-
Constructor Details
-
SchemaProviderImpl
creates SchemaProvider from existing RELAXGrammar. Since bind method is already called by RELAXNSReader, the application should not call bind method.
-
-
Method Details
-
createTopLevelVerifier
public org.iso_relax.dispatcher.IslandVerifier createTopLevelVerifier() -
fromGrammar
creates SchemaProvider from generic Grammar (including TREX/RELAX Core) -
bind
binds all IslandSchemata.
-