lux
Class Evaluator.LuxCollectionURIResolver

java.lang.Object
  extended by lux.Evaluator.LuxCollectionURIResolver
All Implemented Interfaces:
Serializable, net.sf.saxon.lib.CollectionURIResolver
Enclosing class:
Evaluator

public class Evaluator.LuxCollectionURIResolver
extends Object
implements net.sf.saxon.lib.CollectionURIResolver

See Also:
Serialized Form

Constructor Summary
Evaluator.LuxCollectionURIResolver()
           
 
Method Summary
 net.sf.saxon.om.SequenceIterator<?> resolve(String href, String base, net.sf.saxon.expr.XPathContext context)
          Evaluator provides this method as an implementation of CollectionURIResolver in support of fn:collection() (and fn:uri-collection()).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluator.LuxCollectionURIResolver

public Evaluator.LuxCollectionURIResolver()
Method Detail

resolve

public net.sf.saxon.om.SequenceIterator<?> resolve(String href,
                                                   String base,
                                                   net.sf.saxon.expr.XPathContext context)
                                            throws net.sf.saxon.trans.XPathException
Evaluator provides this method as an implementation of CollectionURIResolver in support of fn:collection() (and fn:uri-collection()).

Specified by:
resolve in interface net.sf.saxon.lib.CollectionURIResolver
Parameters:
href - the path to resolve. If empty or null, all documents are returned (from the index). Paths beginning "lux:" are parsed (after removing the prefix) using LuxQueryParser and evaluated as queries against the index. Other paths are resolved using the default resolver.
base - the base uri of the calling context (see CollectionURIResolver). This is ignored for lux queries.
Throws:
net.sf.saxon.trans.XPathException


Copyright © 2013. All Rights Reserved.