com.sun.msv.verifier.jarv
Class TheFactoryImpl

java.lang.Object
  extended by org.iso_relax.verifier.VerifierFactory
      extended by com.sun.msv.verifier.jarv.FactoryImpl
          extended by com.sun.msv.verifier.jarv.TheFactoryImpl

public class TheFactoryImpl
extends FactoryImpl

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

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.verifier.jarv.FactoryImpl
factory
 
Constructor Summary
TheFactoryImpl()
          use the default SAXParser.
TheFactoryImpl(SAXParserFactory factory)
           
 
Method Summary
protected  Grammar parse(InputSource is, GrammarReaderController controller)
          parses a Grammar from the specified source.
protected  Grammar parse(String source, GrammarReaderController controller)
           
 
Methods inherited from class com.sun.msv.verifier.jarv.FactoryImpl
compileSchema, getEntityResolver, isFeature, setEntityResolver, setFeature
 
Methods inherited from class org.iso_relax.verifier.VerifierFactory
compileSchema, compileSchema, compileSchema, compileSchema, getProperty, newInstance, newInstance, newInstance, newVerifier, newVerifier, newVerifier, newVerifier, newVerifier, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TheFactoryImpl

public TheFactoryImpl(SAXParserFactory factory)

TheFactoryImpl

public TheFactoryImpl()
use the default SAXParser.

Method Detail

parse

protected Grammar parse(InputSource is,
                        GrammarReaderController controller)
                 throws VerifierConfigurationException
Description copied from class: FactoryImpl
parses a Grammar from the specified source. return null if an error happens.

Specified by:
parse in class FactoryImpl
Throws:
VerifierConfigurationException

parse

protected Grammar parse(String source,
                        GrammarReaderController controller)
                 throws VerifierConfigurationException
Throws:
VerifierConfigurationException


MSV