|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.expr.ComputedExpression
net.sf.saxon.expr.FunctionCall
net.sf.saxon.functions.SystemFunction
net.sf.saxon.functions.CollatingFunction
net.sf.saxon.functions.DeepEqual
XSLT 2.0 deep-equal() function. Supports deep comparison of two sequences (of nodes and/or atomic values) optionally using a collation
Field Summary |
Fields inherited from class net.sf.saxon.functions.SystemFunction |
operation |
Fields inherited from class net.sf.saxon.expr.FunctionCall |
argument |
Fields inherited from class net.sf.saxon.expr.ComputedExpression |
locationId, staticProperties |
Fields inherited from interface net.sf.saxon.expr.Expression |
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD |
Constructor Summary | |
DeepEqual()
|
Method Summary | |
static boolean |
deepEquals(SequenceIterator op1,
SequenceIterator op2,
AtomicComparer collator,
Configuration config)
Determine when two sequences are deep-equal |
Item |
evaluateItem(XPathContext context)
Evaluate the expression |
Expression |
preEvaluate(StaticContext env)
preEvaluate: if all arguments are known statically, evaluate early |
Methods inherited from class net.sf.saxon.functions.CollatingFunction |
getAtomicComparer, getCollator |
Methods inherited from class net.sf.saxon.functions.SystemFunction |
addContextDocumentArgument, checkArguments, computeCardinality, computeSpecialProperties, display, getDetails, getItemType, getRequiredType, main, makeSystemFunction, setDetails, useContextItemAsDefault |
Methods inherited from class net.sf.saxon.expr.FunctionCall |
analyze, checkArgumentCount, getDisplayName, getFunctionNameCode, getNumberOfArguments, iterateSubExpressions, promote, setArguments, setFunctionNameCode, simplify, simplifyArguments |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DeepEqual()
Method Detail |
public Expression preEvaluate(StaticContext env) throws XPathException
preEvaluate
in class CollatingFunction
XPathException
public Item evaluateItem(XPathContext context) throws XPathException
evaluateItem
in interface Expression
evaluateItem
in class ComputedExpression
context
- The context in which the expression is to be evaluated
XPathException
- if any dynamic error occurs evaluating the
expressionpublic static boolean deepEquals(SequenceIterator op1, SequenceIterator op2, AtomicComparer collator, Configuration config)
op1
- the first sequenceop2
- the second sequencecollator
- the collator to be usedconfig
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |