public class SchemaReference extends Schema implements Serializable
| 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 Schemapublic ValidatorHandler newValidatorHandler()
ValidatorHandler for this Schema.newValidatorHandler in class SchemaCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.