public class UntypedAtomicValue extends StringValue
StringValue.CharacterIterator| Modifier and Type | Field and Description |
|---|---|
(package private) DoubleValue |
doubleValue |
static UntypedAtomicValue |
ZERO_LENGTH_UNTYPED |
EMPTY_STRING, FALSE, noSurrogates, SINGLE_SPACE, TRUE, valuetypeLabelINDETERMINATE_ORDERINGEMPTY_VALUE_ARRAY| Constructor and Description |
|---|
UntypedAtomicValue(java.lang.CharSequence value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AtomicValue other,
StringCollator collator,
XPathContext context)
Compare an untypedAtomic value with another value, using a given collator to perform
any string comparisons.
|
AtomicValue |
copyAsSubType(AtomicType typeLabel)
Create a copy of this atomic value, with a different type label
|
BuiltInAtomicType |
getPrimitiveType()
Determine the primitive type of the value.
|
codepointEquals, containsSurrogatePairs, contract, diagnosticDisplay, effectiveBooleanValue, equals, expand, expand, getPrimitiveStringValue, getSchemaComparable, getStringLength, getStringLength, getXPathComparable, hashCode, isIdentical, isKnownToContainNoSurrogates, isZeroLength, iterateCharacters, makeStringValue, setContainsNoSurrogates, setStringValueCS, toStringasAtomic, checkPermittedContents, getCardinality, getComponent, getItemType, getLength, getStringValue, getStringValueCS, getTypedValue, getTypeLabel, isNaN, itemAt, iterate, process, setTypeLabel, subsequenceasItem, asItem, asIterator, asValue, convertToJava, fromItem, getCanonicalLexicalRepresentation, getIterator, getSequenceLength, reducepublic static final UntypedAtomicValue ZERO_LENGTH_UNTYPED
DoubleValue doubleValue
public UntypedAtomicValue(java.lang.CharSequence value)
value - the String value. Null is taken as equivalent to "".public AtomicValue copyAsSubType(AtomicType typeLabel)
copyAsSubType in class StringValuetypeLabel - the type label of the new copy. The caller is responsible for checking that
the value actually conforms to this type.public BuiltInAtomicType getPrimitiveType()
getPrimitiveType in class StringValuepublic int compareTo(AtomicValue other, StringCollator collator, XPathContext context)
other - the value to compare this value withcollator - the collation to be used for comparing stringscontext - the XPath dynamic contextjava.lang.ClassCastException - if the value cannot be cast to the type of the other operand