com.sun.msv.verifier.jarv
Class DTDFactoryImpl

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.DTDFactoryImpl

public class DTDFactoryImpl
extends FactoryImpl

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Field Summary
 
Fields inherited from class com.sun.msv.verifier.jarv.FactoryImpl
factory
 
Constructor Summary
DTDFactoryImpl()
          use the default SAXParser.
DTDFactoryImpl(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

DTDFactoryImpl

public DTDFactoryImpl(SAXParserFactory factory)

DTDFactoryImpl

public DTDFactoryImpl()
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