public interface ValueRepresentation
This class is intended primarily for internal use, and should not be considered part of the Saxon public API.
Modifier and Type | Field and Description |
---|---|
static ValueRepresentation[] |
EMPTY_VALUE_ARRAY
An empty array of ValueRepresentation objects
|
Modifier and Type | Method and Description |
---|---|
String |
getStringValue()
Convert the value to a string, using the serialization rules.
|
CharSequence |
getStringValueCS()
Convert the value to a string, using the serialization rules,
and returning the result as a CharSequence.
|
static final ValueRepresentation[] EMPTY_VALUE_ARRAY
String getStringValue() throws XPathException
XPathException
- The method can fail if evaluation of the value
has been deferred, and if a failure occurs during the deferred evaluation.
No failure is possible in the case of an AtomicValue or a Node.CharSequence getStringValueCS() throws XPathException
XPathException
- The method can fail if evaluation of the value
has been deferred, and if a failure occurs during the deferred evaluation.
No failure is possible in the case of an AtomicValue or a Node.