Top Description Fields Constructors Methods
com.sun.msv.verifier.jarv

public Class SchemaImpl

extends Object
implements Schema
Class Inheritance
All Implemented Interfaces
org.iso_relax.verifier.Schema
Imports
javax.xml.parsers.ParserConfigurationException, .SAXParserFactory, org.iso_relax.verifier.Schema, .Verifier, .VerifierConfigurationException, org.xml.sax.SAXException, .XMLReader, com.sun.msv.grammar.Grammar, com.sun.msv.verifier.IVerifier

base implementation of RELAXFactoryImpl and TREXFactoryImpl
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected final SAXParserFactory
protected final Grammar
private boolean

Constructor Summary

AccessConstructor and Description
protected
SchemaImpl(Grammar grammar, SAXParserFactory factory, boolean _usePanicMode)

public

Method Summary

Modifier and TypeMethod and Description
private synchronized XMLReader
public Verifier
newVerifier()

Implements org.iso_relax.verifier.Schema.newVerifier.

creates a new Verifier object that validates documents with this schema.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

factoryback to summary
protected final SAXParserFactory factory
grammarback to summary
protected final Grammar grammar
usePanicModeback to summary
private boolean usePanicMode

Constructor Detail

SchemaImplback to summary
protected SchemaImpl(Grammar grammar, SAXParserFactory factory, boolean _usePanicMode)
SchemaImplback to summary
public SchemaImpl(Grammar grammar)

Method Detail

createXMLReaderback to summary
private synchronized XMLReader createXMLReader() throws VerifierConfigurationException
newVerifierback to summary
public Verifier newVerifier() throws VerifierConfigurationException

Implements org.iso_relax.verifier.Schema.newVerifier.

Doc from org.iso_relax.verifier.Schema.newVerifier.

creates a new Verifier object that validates documents with this schema.

Returns:Verifier

a valid non-null instance of a Verifier.