net.sf.saxon.functions
public class Doc extends SystemFunction
Method Summary | |
---|---|
PathMap.PathMapNodeSet | addToPathMap(PathMap pathMap, PathMap.PathMapNodeSet pathMapNodeSet)
Add a representation of this expression to a PathMap. |
void | checkArguments(ExpressionVisitor visitor) |
int | computeCardinality() |
int | computeSpecialProperties()
Get the static properties of this expression (other than its type). |
Expression | copy()
Copy an expression. |
Item | evaluateItem(XPathContext context)
Evaluate the expression |
String | getStaticBaseURI()
Get the static base URI of the expression |
boolean | isReadOnce()
Ask whether this document has been marked as being read once only. |
Expression | preEvaluate(ExpressionVisitor visitor)
preEvaluate: this method suppresses compile-time evaluation unless a configuration option has been
set to allow early evaluation. |
void | sendDocument(XPathContext context, Receiver out)
Copy the document identified by this expression to a given Receiver. |
void | setReadOnce(boolean once)
Indicate that the document will be read once only (or that it should be treated as if it
is read once only. |
Parameters: pathMap the PathMap to which the expression should be added pathMapNodeSet
Returns: the pathMapNode representing the focus established by this expression, in the case where this expression is the first operand of a path expression or filter expression
Returns: the copy of the original expression
Parameters: context the dynamic evaluation context
Returns: the result of evaluating the expression (a document node)
Throws: XPathException
Returns: the static base URI
Returns: true if the document has been marked as being read once only
Parameters: visitor an expression visitor
Parameters: context the XPath dynamic context out the destination to which the document will be sent
Parameters: once true if this document is to be treated as being read once only