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

public Class TheFactoryImpl

extends FactoryImpl
Class Inheritance
Imports
javax.xml.parsers.SAXParserFactory, org.iso_relax.verifier.VerifierConfigurationException, org.xml.sax.InputSource, com.sun.msv.grammar.Grammar, com.sun.msv.reader.GrammarReaderController, com.sun.msv.reader.util.GrammarLoader

VerifierFactory implementation that automatically detects the schema language. To use this class, see
Author
Kohsuke KAWAGUCHI

Field Summary

Inherited from com.sun.msv.verifier.jarv.FactoryImpl:
factory

Constructor Summary

AccessConstructor and Description
public
public
TheFactoryImpl()

use the default SAXParser.

Method Summary

Modifier and TypeMethod and Description
protected Grammar
parse(InputSource is, GrammarReaderController controller)

Implements abstract com.sun.msv.verifier.jarv.FactoryImpl.parse.

parses a Grammar from the specified source.
protected Grammar
parse(String source, GrammarReaderController controller)

Inherited from com.sun.msv.verifier.jarv.FactoryImpl:
compileSchemacreateVerifiergetEntityResolverisFeaturesetEntityResolversetFeature

Constructor Detail

TheFactoryImplback to summary
public TheFactoryImpl(SAXParserFactory factory)
TheFactoryImplback to summary
public TheFactoryImpl()

use the default SAXParser.

Method Detail

parseback to summary
protected Grammar parse(InputSource is, GrammarReaderController controller) throws VerifierConfigurationException

Implements abstract com.sun.msv.verifier.jarv.FactoryImpl.parse.

Doc from com.sun.msv.verifier.jarv.FactoryImpl.parse.

parses a Grammar from the specified source. return null if an error happens.

parseback to summary
protected Grammar parse(String source, GrammarReaderController controller) throws VerifierConfigurationException