public class StartsWith extends CollatingFunctionFixed
Constructor and Description |
---|
StartsWith() |
Modifier and Type | Method and Description |
---|---|
BooleanValue |
call(XPathContext context,
Sequence[] arguments)
Evaluate the function
|
ExpressionCompiler |
getExpressionCompiler()
Return the compiler of the StartsWith expression
|
static boolean |
startsWith(StringValue arg0,
StringValue arg1,
StringCollator collator) |
exportAttributes, getAtomicComparer, getPreAllocatedAtomicComparer, getStringCollator, importAttributes, preAllocateComparer, setCollationName, setRetainedStaticContext
equals, export, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamingAdjunct, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, supplyTypeInformation, typeCheckCaller
atomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheck
getLength, head, itemAt, iterate, reduce, subsequence
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, head, itemAt, reduce, subsequence
public static boolean startsWith(StringValue arg0, StringValue arg1, StringCollator collator) throws XPathException
XPathException
public BooleanValue call(XPathContext context, Sequence[] arguments) throws XPathException
context
- the XPath dynamic evaluation contextarguments
- the actual arguments to be suppliedXPathException
- if a dynamic error occurs within the functionpublic ExpressionCompiler getExpressionCompiler()
getExpressionCompiler
in class SystemFunction
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.