org.kohsuke.jarv.xerces
Class XercesVerifierFactory

java.lang.Object
  extended by org.iso_relax.verifier.VerifierFactory
      extended by org.kohsuke.jarv.xerces.XercesVerifierFactory
All Implemented Interfaces:
org.apache.xerces.xni.parser.XMLEntityResolver

public class XercesVerifierFactory
extends org.iso_relax.verifier.VerifierFactory
implements org.apache.xerces.xni.parser.XMLEntityResolver

VerifierFactory implementation for Xerces-2. Features and properties set through the VerifierFactory interfaces are passed to the Xerces-2 components. For example, you can write:

 factory.setFeature("http://apache.org/xml/features/validation/schema-full-checking",true);
 
to turn on the full schema checking.

Author:
Kohsuke KAWAGUCHI (kk@kohsuke.org)

Constructor Summary
XercesVerifierFactory()
           
 
Method Summary
 org.iso_relax.verifier.Schema compileSchema(org.xml.sax.InputSource is)
           
 org.apache.xerces.xni.parser.XMLInputSource resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier r)
          resolve entity by using SAX EntityResolver.
 
Methods inherited from class org.iso_relax.verifier.VerifierFactory
compileSchema, compileSchema, compileSchema, compileSchema, getEntityResolver, getProperty, isFeature, newInstance, newInstance, newInstance, newVerifier, newVerifier, newVerifier, newVerifier, newVerifier, setEntityResolver, setFeature, setProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XercesVerifierFactory

public XercesVerifierFactory()
Method Detail

compileSchema

public org.iso_relax.verifier.Schema compileSchema(org.xml.sax.InputSource is)
                                            throws org.iso_relax.verifier.VerifierConfigurationException,
                                                   org.xml.sax.SAXException,
                                                   java.io.IOException
Specified by:
compileSchema in class org.iso_relax.verifier.VerifierFactory
Throws:
org.iso_relax.verifier.VerifierConfigurationException
org.xml.sax.SAXException
java.io.IOException

resolveEntity

public org.apache.xerces.xni.parser.XMLInputSource resolveEntity(org.apache.xerces.xni.XMLResourceIdentifier r)
                                                          throws org.apache.xerces.xni.XNIException,
                                                                 java.io.IOException
resolve entity by using SAX EntityResolver.

Specified by:
resolveEntity in interface org.apache.xerces.xni.parser.XMLEntityResolver
Throws:
org.apache.xerces.xni.XNIException
java.io.IOException