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.
operationargumentlocationId, staticPropertiesEVALUATE_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, useContextItemAsDefaultcheckArgumentCount, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, optimize, promote, setArguments, setFunctionNameCode, simplify, simplifyArguments, typeCheckadoptChildExpression, 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, typeErrorpublic void checkArguments(StaticContext env) throws XPathException
SystemFunctioncheckArguments in class SystemFunctionXPathExceptionpublic Expression preEvaluate(StaticContext env)
preEvaluate in class FunctionCallpublic SequenceIterator iterate(XPathContext context) throws XPathException
ComputedExpressioniterate in interface Expressioniterate in class ComputedExpressioncontext - supplies the context for evaluationXPathException - if any dynamic error occurs evaluating the
expression