org.exist.xquery.value
Class BinaryValue
java.lang.Object
org.exist.xquery.value.AtomicValue
org.exist.xquery.value.BinaryValue
- All Implemented Interfaces:
- Comparable, Indexable, Item, Sequence
- Direct Known Subclasses:
- Base64Binary, HexBinary
public abstract class BinaryValue
- extends AtomicValue
Methods inherited from class org.exist.xquery.value.AtomicValue |
add, addAll, atomize, clearContext, compareTo, contains, convertTo, copyTo, dump, effectiveBooleanValue, endsWith, getCardinality, getCollectionIterator, getDocumentSet, getItemCount, getItemType, getState, getStringValue, getType, hasChanged, hasMany, hasOne, isCacheable, isCached, isEmpty, isPersistentSet, itemAt, iterate, nodeMoved, promote, removeDuplicates, serializeValue, setIsCached, setSelfAsContext, startsWith, toJavaObject, toMemNodeSet, toNodeSet, toSAX, toSequence, toString, unorderedIterator |
BinaryValue
public BinaryValue()
BinaryValue
public BinaryValue(byte[] data)
getBinaryData
public byte[] getBinaryData()
compareTo
public boolean compareTo(Collator collator,
int operator,
AtomicValue other)
throws XPathException
- Specified by:
compareTo
in class AtomicValue
- Throws:
XPathException
compareTo
public int compareTo(Collator collator,
AtomicValue other)
throws XPathException
- Specified by:
compareTo
in class AtomicValue
- Throws:
XPathException
max
public AtomicValue max(Collator collator,
AtomicValue other)
throws XPathException
- Specified by:
max
in class AtomicValue
- Throws:
XPathException
min
public AtomicValue min(Collator collator,
AtomicValue other)
throws XPathException
- Specified by:
min
in class AtomicValue
- Throws:
XPathException
conversionPreference
public int conversionPreference(Class javaClass)
- Description copied from interface:
Sequence
- Returns a preference indicator, indicating the preference of
a value to be converted into the given Java class. Low numbers mean
that the value can be easily converted into the given class.
- Specified by:
conversionPreference
in interface Item
- Specified by:
conversionPreference
in interface Sequence
- Overrides:
conversionPreference
in class AtomicValue
Copyright (C) Wolfgang Meier. All rights reserved.