public class SchemaReference
extends javax.xml.validation.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
|
javax.xml.validation.Validator |
newValidator()
Create a new
Validator for this Schema. |
javax.xml.validation.ValidatorHandler |
newValidatorHandler()
Creates a new
ValidatorHandler for this Schema. |
public SchemaReference(PreparedSchema schema)
schema - the PreparedSchema to be wrappedpublic PreparedSchema getPreparedSchema()
public javax.xml.validation.Validator newValidator()
Validator for this Schema.
A validator enforces/checks the set of constraints this object represents.
newValidator in class javax.xml.validation.Schemapublic javax.xml.validation.ValidatorHandler newValidatorHandler()
ValidatorHandler for this Schema.newValidatorHandler in class javax.xml.validation.SchemaCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.