javax.xml.validation

Class Schema


public abstract class Schema
extends java.lang.Object

An immutable grammar.

Since:
1.3

Constructor Summary

Schema()

Method Summary

Validator
newValidator()
Returns a new validator that can check the set of constraints this schema represents.
ValidatorHandler
newValidatorHandler()

Constructor Details

Schema

protected Schema()

Method Details

newValidator

public Validator newValidator()
Returns a new validator that can check the set of constraints this schema represents.


newValidatorHandler

public ValidatorHandler newValidatorHandler()