Saxon.Api
Class XsdSchema
-
public abstract class XsdSchema
An XsdSchema object represents a compiled XSD schema. It is
always constructed using the Compile methods in the
XsdCompiler class.
The abstract XsdSchema class is included in all Saxon editions,
but the concrete subclass that represents a real schema is available
only in Saxon-EE.
Property Summary |
|
|---|---|
| net.sf.saxon.type.Schema | UnderlyingSchema Trapdoor method to obtain access to the underlying implementation. Details may not be stable between releases. |
Method Summary |
|
|---|---|
| XsdSchema | Combine (XsdSchema other)
Combine this schema with another to create a new |
| void | ExportComponents (IDestination destination)
Export the contents of this schema to an SCM file.
The destination will typically be a |
| SchemaValidator | NewValidator ()
Obtain a |
Property Detail
UnderlyingSchema
Trapdoor method to obtain access to the underlying implementation. Details may not be stable between releases.
Method Detail
ExportComponents
Export the contents of this schema to an SCM file.
The destination will typically be a Serializer.
The resulting SCM file can be used to reconstitute the compiled
schema by calling XsdCompiler.ImportComponents.
Parameters:
destination - The destination for the SCM fileNewValidator
Obtain a SchemaValidator that can be used to validate
instance documents against this schema.
Combine this schema with another to create a new
XsdSchemaNeither of the input schemas is modified. The two schemas must be compatible, for example they must not contain conflicting definitions with the same name.Parameters:
other- The other schema