public class Matches extends RegexFunction
| Constructor and Description |
|---|
Matches() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowRegexMatchingEmptyString() |
BooleanValue |
call(XPathContext context,
Sequence[] arguments)
Evaluate the expression
|
boolean |
evalMatches(AtomicValue input,
AtomicValue regex,
CharSequence flags,
XPathContext context)
Interface used by compiled bytecode
|
ExpressionCompiler |
getExpressionCompiler()
Return the compiler of the Matches expression
|
getRegularExpression, getStaticRegex, makeFunctionCallequals, export, exportAttributes, getArity, getCardinality, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, getStreamingAdjunct, importAttributes, makeCall, makeFunction, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, setRetainedStaticContext, supplyTypeInformation, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheckgetLength, head, itemAt, iterate, reduce, subsequenceclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, head, itemAt, reduce, subsequenceprotected boolean allowRegexMatchingEmptyString()
allowRegexMatchingEmptyString in class RegexFunctionpublic boolean evalMatches(AtomicValue input, AtomicValue regex, CharSequence flags, XPathContext context) throws XPathException
input - the value to be testedregex - the regular expressionflags - the flagscontext - the dynamic contextXPathException - if a dynamic error occurspublic BooleanValue call(XPathContext context, Sequence[] arguments) throws XPathException
context - the dynamic evaluation contextarguments - the values of the arguments, supplied as SequencesXPathException - if a dynamic error occurs during the evaluation of the expressionpublic ExpressionCompiler getExpressionCompiler()
getExpressionCompiler in class SystemFunctionCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.