net.sf.saxon.functions
public class Document extends SystemFunction implements XSLTFunction
Method Summary | |
---|---|
void | checkArguments(StaticContext env) |
int | computeCardinality()
Determine the static cardinality |
int | computeSpecialProperties()
Get the static properties of this expression (other than its type). |
SequenceIterator | iterate(XPathContext context)
iterate() handles evaluation of the function:
it returns a sequence of Document nodes |
static NodeInfo | makeDoc(String href, String baseURL, XPathContext c, SourceLocator locator)
Supporting routine to load one external document given a URI (href) and a baseURI |
Expression | preEvaluate(StaticContext env)
preEvaluate: this method suppresses compile-time evaluation by doing nothing |
static void | sendDoc(String href, String baseURL, XPathContext c, SourceLocator locator, Receiver out)
Supporting routine to push one external document given a URI (href) and a baseURI to a given Receiver.
|
void | sendDocuments(XPathContext context, Receiver out)
Copy the documents identified by this expression to a given Receiver. |