public class DeepEqual extends CollatingFunctionFixed
| Modifier and Type | Field and Description | 
|---|---|
static int | 
COMPARE_ANNOTATIONS
Flag indicating that elements and attributes must have the same type annotation to be considered
 deep-equal 
 | 
static int | 
COMPARE_ID_FLAGS
Flag indicating that the is-id and is-idref flags are to be compared 
 | 
static int | 
COMPARE_STRING_VALUES
Flag indicating that elements and attributes should always be compared according to their string
 value, not their typed value 
 | 
static int | 
EXCLUDE_VARIETY
Flag indicating that the variety of the type of a node is to be ignored (for example, a mixed content
 node can compare equal to an element-only content node 
 | 
static int | 
EXCLUDE_WHITESPACE_TEXT_NODES
Flag indicating that whitespace text nodes are ignored when comparing element nodes 
 | 
static int | 
INCLUDE_COMMENTS
Flag indicating that comment children are taken into account when comparing element or document nodes 
 | 
static int | 
INCLUDE_NAMESPACES
Flag indicating that two elements should only be considered equal if they have the same
 in-scope namespaces 
 | 
static int | 
INCLUDE_PREFIXES
Flag indicating that two element or attribute nodes are considered equal only if their
 names use the same namespace prefix 
 | 
static int | 
INCLUDE_PROCESSING_INSTRUCTIONS
Flag indicating that processing instruction nodes are taken into account when comparing element or document nodes 
 | 
static int | 
JOIN_ADJACENT_TEXT_NODES
Flag indicating that adjacent text nodes in the top-level sequence are to be merged 
 | 
static int | 
WARNING_IF_FALSE
Flag indicating that a warning message explaining the reason why the sequences were deemed non-equal
 should be sent to the ErrorListener 
 | 
| Constructor and Description | 
|---|
DeepEqual()  | 
| Modifier and Type | Method and Description | 
|---|---|
BooleanValue | 
call(XPathContext context,
    Sequence[] arguments)
Execute a dynamic call to the function 
 | 
static boolean | 
deepEqual(SequenceIterator op1,
         SequenceIterator op2,
         AtomicComparer comparer,
         XPathContext context,
         int flags)
Determine when two sequences are deep-equal 
 | 
static boolean | 
deepEquals(NodeInfo n1,
          NodeInfo n2,
          AtomicComparer comparer,
          Configuration config,
          UnfailingErrorListener listener,
          int flags)  | 
java.lang.String | 
getStreamerName()
Get a name that identifies the class that can be used to evaluate this function
 in streaming mode, that is, supplying one item or event at a time as it is
 delivered by the parser. 
 | 
copy, exportAttributes, getAtomicComparer, getPreAllocatedAtomicComparer, getStringCollator, importAttributes, isSubstringMatchingFunction, preAllocateComparer, setCollationName, setRetainedStaticContextdependsOnContextItem, dynamicCall, equals, export, exportAdditionalArguments, fixArguments, getArity, getCardinality, getCompilerName, getContextNode, getDescription, getDetails, getErrorCodeForTypeErrors, getFunctionItemType, getFunctionName, getIntegerBounds, getNetCost, getOperandRoles, getRequiredType, getResultItemType, getResultItemType, getRetainedStaticContext, getSpecialProperties, getStaticBaseUriString, isTrustedResultType, makeCall, makeFunction, makeFunctionCall, makeOptimizedFunctionCall, resultIfEmpty, setArity, setDetails, supplyTypeInformation, toShortString, toString, typeCheckCalleratomize, deepEquals, effectiveBooleanValue, getAnnotations, getStringValue, getStringValueCS, isArray, isMap, makeNewContext, simplify, typeCheckclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitargumentArray, getGenregetLength, head, isStreamed, itemAt, iterate, iterator, reduce, subsequence, toGroundedValueasIterable, materializemakeRepeatablepublic static final int INCLUDE_NAMESPACES
public static final int INCLUDE_PREFIXES
public static final int INCLUDE_COMMENTS
public static final int INCLUDE_PROCESSING_INSTRUCTIONS
public static final int EXCLUDE_WHITESPACE_TEXT_NODES
public static final int COMPARE_STRING_VALUES
public static final int COMPARE_ANNOTATIONS
public static final int WARNING_IF_FALSE
public static final int JOIN_ADJACENT_TEXT_NODES
public static final int COMPARE_ID_FLAGS
public static final int EXCLUDE_VARIETY
public static boolean deepEqual(SequenceIterator op1, SequenceIterator op2, AtomicComparer comparer, XPathContext context, int flags) throws XPathException
op1 - the first sequenceop2 - the second sequencecomparer - the comparer to be usedcontext - the XPathContext itemflags - bit-significant integer giving comparison options. Always zero for standard
                 F+O deep-equals comparison.XPathException - if either sequence contains a function itempublic static boolean deepEquals(NodeInfo n1, NodeInfo n2, AtomicComparer comparer, Configuration config, UnfailingErrorListener listener, int flags) throws XPathException
XPathExceptionpublic BooleanValue call(XPathContext context, Sequence[] arguments) throws XPathException
context - the dynamic evaluation contextarguments - the values of the arguments, supplied as Sequences.XPathException - (should not happen)public java.lang.String getStreamerName()
SystemFunctiongetStreamerName in class SystemFunctionStreamerMap. In non-streaming Saxon editions
 (HE and PE) the method always returns null.Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.