com.icl.saxon.functions
public class Document extends Function
Method Summary | |
---|---|
Value | evaluate(Context c)
evaluate() handles evaluation of the function |
int | getDataType()
Determine the data type of the expression |
int | getDependencies()
Determine which aspects of the context the expression depends on. |
NodeSetValue | getDocuments(Value arg0, NodeSetValue arg1, String styleSheetURL, Context context)
getDocuments() evaluates the function. |
String | getName() |
Expression | reduce(int dep, Context context)
Remove dependencies. |
Expression | simplify()
Simplify and validate. |
Returns: Value.NODESET
Parameters: arg0 The value of the first argument arg1 The value of the second argument, if there is one; otherwise null styleSheetURL The URI of the node in the stylesheet containing the expression. Needed only when the first argument is not a nodeset and the second argument is omitted. context The evaluation context
Returns: a NodeSetValue containing the root nodes of the selected documents (or element nodes if the URI references contain fragment identifiers)