com.caucho.relaxng
Class CompactVerifierFactoryImpl

java.lang.Object
  extended by com.caucho.relaxng.CompactVerifierFactoryImpl
All Implemented Interfaces:
VerifierFactory

public class CompactVerifierFactoryImpl
extends java.lang.Object
implements VerifierFactory

JARV Verifier factory.


Constructor Summary
CompactVerifierFactoryImpl()
           
 
Method Summary
static Schema compileFromPath(Path path)
          Compile a schema.
static Schema compileFromResource(java.lang.String schemaName)
          Reads the schema from the classpath.
 Schema compileSchema(org.xml.sax.InputSource is)
          Compile a schema.
 Schema compileSchema(Path path)
          Compile a schema.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompactVerifierFactoryImpl

public CompactVerifierFactoryImpl()
Method Detail

compileFromResource

public static Schema compileFromResource(java.lang.String schemaName)
                                  throws org.xml.sax.SAXException,
                                         java.io.IOException
Reads the schema from the classpath.

Throws:
org.xml.sax.SAXException
java.io.IOException

compileFromPath

public static Schema compileFromPath(Path path)
                              throws org.xml.sax.SAXException,
                                     java.io.IOException
Compile a schema.

Throws:
org.xml.sax.SAXException
java.io.IOException

compileSchema

public Schema compileSchema(Path path)
                     throws org.xml.sax.SAXException,
                            java.io.IOException
Compile a schema.

Throws:
org.xml.sax.SAXException
java.io.IOException

compileSchema

public Schema compileSchema(org.xml.sax.InputSource is)
                     throws org.xml.sax.SAXException,
                            java.io.IOException
Compile a schema.

Specified by:
compileSchema in interface VerifierFactory
Throws:
org.xml.sax.SAXException
java.io.IOException