Saxon.Api

 

 

Saxon.Api

Class XsdCompiler.SchemaSource

Enclosing class
XsdCompiler

public class XsdCompiler.SchemaSource

Embedded class defining the source for a particular schema document.

Constructor Summary

SchemaSource (Stream stream, Uri uri)

A schema document supplied in the form of a stream, together with a Uri that defines the base URI for resolving any xs:include or xs:import declarations.

SchemaSource (Stream stream)

A schema document supplied in the form of a stream. No base URI is defined, so resolving any xs:include or xs:import declarations is likely to fail.

SchemaSource (TextReader reader, Uri uri)

A schema document supplied in the form of a text reader, together with a Uri that defines the base URI for resolving any xs:include or xs:import declarations.

SchemaSource (Uri uri)

A schema document supplied in the form of a Uri, which is dereferenced directly (without using any resolver)

SchemaSource (TextReader reader)

A schema document supplied in the form of a text reader. No base URI is defined, so resolving any xs:include or xs:import declarations is likely to fail.

SchemaSource (FileInfo file)

A schema document supplied in the form of a FileInfo

SchemaSource (XdmNode node)

A schema document supplied in the form of an XdmNode

SchemaSource (Processor processor, XmlReader reader)

A schema document supplied in the form of an XmlReader

 

Constructor Detail

SchemaSource

public SchemaSource(Stream stream,
                    Uri uri)

A schema document supplied in the form of a stream, together with a Uri that defines the base URI for resolving any xs:include or xs:import declarations.

Parameters:

stream - The input stream
uri - The base URI

SchemaSource

public SchemaSource(Stream stream)

A schema document supplied in the form of a stream. No base URI is defined, so resolving any xs:include or xs:import declarations is likely to fail.

Parameters:

stream - The input stream

SchemaSource

public SchemaSource(TextReader reader,
                    Uri uri)

A schema document supplied in the form of a text reader, together with a Uri that defines the base URI for resolving any xs:include or xs:import declarations.

Parameters:

reader - The text reader
uri - The base URI

SchemaSource

public SchemaSource(Uri uri)

A schema document supplied in the form of a Uri, which is dereferenced directly (without using any resolver)

Parameters:

uri - The base URI

SchemaSource

public SchemaSource(TextReader reader)

A schema document supplied in the form of a text reader. No base URI is defined, so resolving any xs:include or xs:import declarations is likely to fail.

Parameters:

reader - The text reader

SchemaSource

public SchemaSource(FileInfo file)

A schema document supplied in the form of a FileInfo

Parameters:

file - The input file

SchemaSource

public SchemaSource(XdmNode node)

A schema document supplied in the form of an XdmNode

Parameters:

node - The input node

SchemaSource

public SchemaSource(Processor processor,
                    XmlReader reader)

A schema document supplied in the form of an XmlReader

Parameters:

processor - The Saxon Processor
reader - The XML Reader (that is, the Microsoft XML parser)