org.iso_relax.verifier

Interface Schema

public interface Schema

The compiled representation of schemas.

Schema object must be thread-safe; multiple-threads can access one Schema 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
VerifiernewVerifier()
creates a new Verifier object that validates documents with this schema.

Method Detail

newVerifier

public Verifier newVerifier()
creates a new Verifier object that validates documents with this schema.

Returns: a valid non-null instance of a Verifier.