com.icl.saxon.functions
Class Document
Get the factory class for user extension elements
containsReferences, display, enumerate, evaluate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, evaluateAsString, getDataType, getDependencies, getStaticContext, indent, isContextDocumentNodeSet, make, outputStringValue, reduce, setStaticContext, simplify, usesCurrent |
getDataType
public int getDataType()
Determine the data type of the expression
- getDataType in interface Expression
- Value.NODESET
getDependencies
public int getDependencies()
Determine which aspects of the context the expression depends on. The result is
a bitwise-or'ed value composed from constants such as Context.VARIABLES and
Context.CURRENT_NODE
- getDependencies in interface Expression
getDocuments
public NodeSetValue getDocuments(Value arg0,
NodeSetValue arg1,
String styleSheetURL,
Context context)
throws XPathException getDocuments() evaluates the function.
arg0 - The value of the first argumentarg1 - The value of the second argument, if there is one; otherwise nullstyleSheetURL - 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
- a NodeSetValue containing the root nodes of the selected documents (or element
nodes if the URI references contain fragment identifiers)
getName
public String getName()
- getName in interface Function