public class Idref extends SystemFunction
Constructor and Description |
---|
Idref() |
Modifier and Type | Method and Description |
---|---|
Sequence<?> |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
static SequenceIterator<NodeInfo> |
getIdrefMultiple(TreeInfo doc,
SequenceIterator<StringValue> keys,
XPathContext context)
Get the result when multiple idref values are supplied.
|
int |
getSpecialProperties(Expression[] arguments)
Get the static properties of this expression (other than its type).
|
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getStaticBaseUriString, getStreamerName, importAttributes, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheck
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
argumentArray, getGenre
getLength, head, isStreamed, itemAt, iterate, iterator, reduce, subsequence, toGroundedValue
asIterable, materialize
makeRepeatable
public int getSpecialProperties(Expression[] arguments)
getSpecialProperties
in class SystemFunction
arguments
- the actual arguments to the function callpublic static SequenceIterator<NodeInfo> getIdrefMultiple(TreeInfo doc, SequenceIterator<StringValue> keys, XPathContext context) throws XPathException
doc
- the document to be searchedkeys
- the idref values suppliedcontext
- the dynamic execution contextXPathException
- if a dynamic error occurspublic Sequence<?> call(XPathContext context, Sequence[] arguments) throws XPathException
context
- the dynamic evaluation contextarguments
- the values of the arguments, supplied as SequenceIteratorsXPathException
- if a dynamic error occurs during the evaluation of the expressionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.