public abstract class SuperId extends SystemFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
SuperId.ElementWithId |
static class |
SuperId.Id |
| Modifier and Type | Field and Description |
|---|---|
static int |
ELEMENT_WITH_ID |
static int |
ID |
| Constructor and Description |
|---|
SuperId() |
| Modifier and Type | Method and Description |
|---|---|
Sequence<?> |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
static SequenceIterator |
getIdMultiple(TreeInfo doc,
SequenceIterator<?> idrefs,
int operation)
Get an iterator over the nodes that have an id equal to one of the values is a set of whitespace separated
strings
|
static SequenceIterator<?> |
getIdSingle(TreeInfo doc,
java.lang.String idrefs,
int operation)
Get an iterator over the nodes that have an id equal to one of the values is a whitespace separated
string
|
abstract int |
getOp() |
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, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheckclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitargumentArray, getGenregetLength, head, isStreamed, itemAt, iterate, iterator, reduce, subsequence, toGroundedValueasIterable, materializemakeRepeatablepublic static final int ID
public static final int ELEMENT_WITH_ID
public abstract int getOp()
public int getSpecialProperties(Expression[] arguments)
getSpecialProperties in class SystemFunctionarguments - the actual arguments to the callpublic static SequenceIterator<?> getIdSingle(TreeInfo doc, java.lang.String idrefs, int operation) throws XPathException
doc - The document to be searchedidrefs - a string containing zero or more whitespace-separated ID values to be found in the documentoperation - either ID or ELEMENT_WITH_IDXPathException - if an error occurspublic static SequenceIterator getIdMultiple(TreeInfo doc, SequenceIterator<?> idrefs, int operation) throws XPathException
doc - The document to be searchedidrefs - an iterator over a set of strings each of which is a string containing
zero or more whitespace-separated ID values to be found in the documentoperation - distinguishes id() and element-with-id()XPathException - if an 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.