Package org.iso_relax.verifier
Interface Schema
-
public interface Schema
The compiled representation of schemas.Schema
object must be thread-safe; multiple-threads can access oneSchema
obejct at the same time.The schema object allows an application to "cache" a schema by compiling it once and using it many times, possibly by different threads.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Verifier
newVerifier()
creates a new Verifier object that validates documents with this schema.
-
-
-
Method Detail
-
newVerifier
Verifier newVerifier() throws VerifierConfigurationException
creates a new Verifier object that validates documents with this schema.- Returns:
- a valid non-null instance of a Verifier.
- Throws:
VerifierConfigurationException
-
-