|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.validation.Schema com.saxonica.jaxp.SchemaReference
public class SchemaReference
A reference to a Saxon prepared schema. This is a wrapper around the Saxon PreparedSchema class; the wrapper implements the JAXP Schema interface and thus allows a Saxon schema to be used via the JAXP validation API.
Constructor Summary | |
---|---|
SchemaReference(PreparedSchema schema)
Create a SchemaReference to wrap a supplied PreparedSchema object |
Method Summary | |
---|---|
PreparedSchema |
getPreparedSchema()
Get the PreparedSchema object wrapped by this SchemaReference |
Validator |
newValidator()
Create a new Validator for this Schema . |
ValidatorHandler |
newValidatorHandler()
Creates a new ValidatorHandler for this Schema . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaReference(PreparedSchema schema)
schema
- the PreparedSchema to be wrappedMethod Detail |
---|
public PreparedSchema getPreparedSchema()
public Validator newValidator()
Validator
for this Schema
.
A validator enforces/checks the set of constraints this object represents.
newValidator
in class Schema
public ValidatorHandler newValidatorHandler()
ValidatorHandler
for this Schema
.
newValidatorHandler
in class Schema
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |