TreatFn.ExactlyOne, TreatFn.OneOrMore, TreatFn.ZeroOrOne| Constructor and Description |
|---|
OneOrMore() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorCodeForTypeErrors()
Return the error code to be used for type errors
|
int |
getRequiredCardinality() |
call, getStreamerName, makeRoleDiagnosticdependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getUniStringArg, hashCode, importAttributes, isSequenceVariadic, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, toShortString, toString, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getUnicodeStringValue, isArray, isMap, makeNewContext, simplify, typeCheckclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLength, getStringValue, head, isStreamed, itemAt, iterate, reduce, subsequenceasIterable, concatenate, containsNode, materializemakeRepeatablepublic int getRequiredCardinality()
getRequiredCardinality in class TreatFnpublic java.lang.String getErrorCodeForTypeErrors()
TreatFngetErrorCodeForTypeErrors in class TreatFnXPTY0004,
but different codes are used for functions such as exactly-one()Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.