public class Collection extends SystemFunction
The structure of this index is:
<collection> <doc href="doc1.xml"> <doc href="doc2.xml"> <doc href="doc3.xml"> </collection>
The document URIs are resolved relative to the base URI of the doc element in the catalogue document.
operation
argument
locationId, staticProperties
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
Constructor and Description |
---|
Collection() |
Modifier and Type | Method and Description |
---|---|
void |
checkArguments(StaticContext env)
Method called during static type checking
|
SequenceIterator |
iterate(XPathContext context)
Return an Iterator to iterate over the values of a sequence.
|
Expression |
preEvaluate(StaticContext env)
preEvaluate: this method suppresses compile-time evaluation by doing nothing
|
addContextDocumentArgument, computeCardinality, computeSpecialProperties, display, getDetails, getErrorCodeForTypeErrors, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefault
checkArgumentCount, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, promote, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheck
adoptChildExpression, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getColumnNumber, getConstructType, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getLineNumber, getLocationId, getLocationProvider, getParentExpression, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasBadParentPointer, markTailFunctionCalls, process, resetStaticProperties, setLocationId, setParentExpression, suppressValidation, typeError, typeError
public void checkArguments(StaticContext env) throws XPathException
SystemFunction
checkArguments
in class SystemFunction
XPathException
public Expression preEvaluate(StaticContext env)
preEvaluate
in class FunctionCall
public SequenceIterator iterate(XPathContext context) throws XPathException
ComputedExpression
iterate
in interface Expression
iterate
in class ComputedExpression
context
- supplies the context for evaluationXPathException
- if any dynamic error occurs evaluating the
expression