Package net.sf.saxon.dotnet

This package provides classes that interface Saxon to the .NET platform.

See:
          Description

Class Summary
DocumentWrapper The document node of a tree implemented as a wrapper around a DOM Document.
DotNetCollationFactory A DotNetCollationFactory allows a Collation to be created given a set of properties that the collation should have.
DotNetCollectionURIResolver This class implements the CollectionURIResolver interface by wrapping an IEnumerable which returns Uri values (the URIs of the documents in the collection)
DotNetComparator A Collation implemented as a wrapper around a .NET CompareInfo object.
DotNetDomBuilder DotNetDomBuilder is a Receiver that constructs an XmlDocument, the .NET implementation of a DOM
DotNetExtensionFunctionCall This class acts as a container for an extension function defined to call a method in a user-defined .NET class.
DotNetExtensionFunctionFactory This class acts as a factory for creating expressions that call Java extension functions.
DotNetExtensionLibrary The DotNetExtensionLibrary is a FunctionLibrary that binds XPath function calls to calls on .NET methods (or constructors, or properties).
DotNetExternalObjectType This class represents the type of an external Java object returned by an extension function, or supplied as an external variable/parameter.
DotNetInputStream A Java InputStream implemented as a wrapper around a .NET stream
DotNetObjectModel The DotNetObjectModel is an ExternalObjectModel that recognizes nodes as defined in the .Net System.Xml namespace, and also recognizes the wrapper objects defined in the Saxon.Api interface.
DotNetObjectValue An XPath value that encapsulates a .NET object.
DotNetOutputStream A Java OutputStream implemented as a wrapper around a .NET stream
DotNetPlatform Implementation of the Platform interface containing methods appropriate to the .NET platform
DotNetPullProvider This class implements the Saxon PullProvider interface as a wrapper around a .NET XmlReader.
DotNetReader An implementation of java.io.Reader that wraps a .NET System.IO.TextReader
DotNetReceiver This class is a Saxon Receiver that writes events through to a .NET XmlTextWriter
DotNetRegexIterator Class JRegexIterator - provides an iterator over matched and unmatched substrings.
DotNetRegexTranslator This class translates XML Schema regex syntax into .NET regex syntax.
DotNetRegularExpression A compiled regular expression implemented using the .NET regex package
DotNetStandardModuleURIResolver This class is the standard ModuleURIResolver used to implement the "import module" declaration in a Query Prolog.
DotNetTokenIterator A DotNetTokenIterator is an iterator over the strings that result from tokenizing a string using a regular expression
DotNetURIResolver This class implements the JAXP URIResolver as a wrapper around a .NET XmlResolver.
DotNetWriter Implement a Java Writer that wraps a supplied .NET TextWriter
NodeWrapper A node in the XML parse tree representing an XML element, character content, or attribute.
 

Package net.sf.saxon.dotnet Description

This package provides classes that interface Saxon to the .NET platform.

These classes are used only in the .NET version of Saxon; they are not present in the version for the Java platform.

Most of these class encapsulate a .NET class in a wrapper that implements a Java interface: either an interface defined in the JDK specifications, or a Saxon-defined interface. For example, DotNetInputStream wraps a .NET Stream as a Java InputStream, while a DotNetPullProvider wraps an XMLReader as a Saxon PullProvider. This enables the .NET service to be used as a functional substitute for Java code implementing the same interface.

The instantiation of these classes is generally controlled through the Platform object registered with the Configuration, which has one instance for the Java platform and another for the .NET platform.


Michael H. Kay
Saxonica Limited
1 February 2006