Exemplo n.º 1
0
 /// <summary>
 /// Create a JarCollection
 /// </summary>
 /// <param name="context">The XPath dynamic context</param>
 /// <param name="collectionURI">the collection URI used to identify this collection
 /// (typically but not necessarily the location of the JAR file)</param>
 /// <param name="parameters">URI query parameters appearing on the collection URI</param>
 public JarCollection(DynamicContext context, String collectionURI, URIQueryParameters parameters)
 {
     resourceCollection = new net.sf.saxon.resource.JarCollection(context.context, collectionURI, parameters.Implementation());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a directory collection
 /// </summary>
 /// <param name="proc">Processor object for configuration properties</param>
 /// <param name="collectionURI">the collection URI</param>
 /// <param name="directoryName">the directory containing the files</param>
 /// <param name="parameters">query parameter supplied as part of the URI</param>
 public DirectoryCollection(Processor proc, String collectionURI, String directoryName, URIQueryParameters parameters)
 {
     resourceCollection = new net.sf.saxon.resource.DirectoryCollection(proc.Implementation, collectionURI, new  java.io.File(directoryName), parameters.Implementation());
 }