gnu.xquery.util
Class SequenceUtils
java.lang.Object
gnu.xquery.util.SequenceUtils
public class SequenceUtils
- extends java.lang.Object
Method Summary |
static boolean |
deepEqual(NodeTree seq1,
int ipos1,
NodeTree seq2,
int ipos2,
NamedCollator collator)
|
static boolean |
deepEqual(java.lang.Object arg1,
java.lang.Object arg2,
NamedCollator collator)
|
static boolean |
deepEqualChildren(NodeTree seq1,
int ipos1,
NodeTree seq2,
int ipos2,
NamedCollator collator)
|
static boolean |
deepEqualItems(java.lang.Object arg1,
java.lang.Object arg2,
NamedCollator collator)
|
static java.lang.Object |
exactlyOne(java.lang.Object arg)
|
static boolean |
exists(java.lang.Object arg)
|
static void |
indexOf$X(java.lang.Object seqParam,
java.lang.Object srchParam,
NamedCollator collator,
CallContext ctx)
|
static void |
insertBefore$X(java.lang.Object target,
long position,
java.lang.Object inserts,
CallContext ctx)
|
static boolean |
isEmptySequence(java.lang.Object arg)
|
static boolean |
isZeroOrOne(java.lang.Object arg)
|
static java.lang.Object |
oneOrMore(java.lang.Object arg)
|
static void |
remove$X(java.lang.Object arg,
long position,
CallContext ctx)
|
static void |
reverse$X(java.lang.Object arg,
CallContext ctx)
Implements the standard XQuery function reverse . |
static java.lang.Object |
zeroOrOne(java.lang.Object arg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
textOrElement
public static final NodeType textOrElement
SequenceUtils
public SequenceUtils()
isZeroOrOne
public static boolean isZeroOrOne(java.lang.Object arg)
zeroOrOne
public static java.lang.Object zeroOrOne(java.lang.Object arg)
oneOrMore
public static java.lang.Object oneOrMore(java.lang.Object arg)
exactlyOne
public static java.lang.Object exactlyOne(java.lang.Object arg)
isEmptySequence
public static boolean isEmptySequence(java.lang.Object arg)
exists
public static boolean exists(java.lang.Object arg)
insertBefore$X
public static void insertBefore$X(java.lang.Object target,
long position,
java.lang.Object inserts,
CallContext ctx)
remove$X
public static void remove$X(java.lang.Object arg,
long position,
CallContext ctx)
reverse$X
public static void reverse$X(java.lang.Object arg,
CallContext ctx)
- Implements the standard XQuery function
reverse
.
indexOf$X
public static void indexOf$X(java.lang.Object seqParam,
java.lang.Object srchParam,
NamedCollator collator,
CallContext ctx)
deepEqualChildren
public static boolean deepEqualChildren(NodeTree seq1,
int ipos1,
NodeTree seq2,
int ipos2,
NamedCollator collator)
deepEqual
public static boolean deepEqual(NodeTree seq1,
int ipos1,
NodeTree seq2,
int ipos2,
NamedCollator collator)
deepEqualItems
public static boolean deepEqualItems(java.lang.Object arg1,
java.lang.Object arg2,
NamedCollator collator)
deepEqual
public static boolean deepEqual(java.lang.Object arg1,
java.lang.Object arg2,
NamedCollator collator)