TreatFn.ExactlyOne, TreatFn.OneOrMore, TreatFn.ZeroOrOne
Constructor and Description |
---|
ExactlyOne() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCodeForTypeErrors()
Return the error code to be used for type errors
|
int |
getRequiredCardinality() |
call, getStreamerName, makeRoleDiagnostic
dependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, exportAttributes, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, 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 getRequiredCardinality()
getRequiredCardinality
in class TreatFn
public java.lang.String getErrorCodeForTypeErrors()
TreatFn
getErrorCodeForTypeErrors
in class TreatFn
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.