public class SchemaReference extends Schema
Constructor and Description |
---|
SchemaReference(PreparedSchema schema)
Create a SchemaReference to wrap a supplied PreparedSchema object
|
Modifier and Type | Method and Description |
---|---|
PreparedSchema |
getPreparedSchema()
Get the PreparedSchema object wrapped by this SchemaReference
|
Validator |
newValidator()
|
ValidatorHandler |
newValidatorHandler()
Creates a new
ValidatorHandler for this Schema . |
public SchemaReference(PreparedSchema schema)
schema
- the PreparedSchema to be wrappedpublic 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
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.