public class StringLiteral extends Literal
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description |
|---|
StringLiteral(CharSequence value)
Create a StringLiteral that wraps any CharSequence (including, of course, a String)
|
StringLiteral(StringValue value)
Create a StringLiteral that wraps a StringValue
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
copy()
Copy an expression.
|
String |
getStringValue()
Get the string represented by this StringLiteral
|
StringValue |
getValue()
Get the value represented by this Literal
|
addToPathMap, computeCardinality, computeSpecialProperties, effectiveBooleanValue, equals, evaluateAsString, evaluateItem, evaluatePendingUpdates, export, exportAtomicValue, exportValue, getCost, getDependencies, getExpressionCompiler, getImplementationMethod, getIntegerBounds, getItemType, getStreamingAdjunct, hashCode, isAtomic, isConstantBoolean, isConstantOne, isEmptySequence, isSubtreeExpression, isVacuousExpression, iterate, iterate, makeEmptySequence, makeLiteral, makeStringsLiteral, optimize, process, promote, toPattern, toShortString, toString, typeCheckadoptChildExpression, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, clearStreamabilityData, computeDependencies, computeStaticProperties, doPromotion, dynamicError, explain, getCardinality, getConfiguration, getConstructType, getEvaluationMethod, getExpressionName, getHostLanguage, getIntrinsicDependencies, getLocation, getNetCost, getObjectName, getPackageData, getParentExpression, getPosture, getPostureAndSweepIfKnown, getProperties, getProperty, getRetainedStaticContext, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStreamability, getSweep, getSystemId, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isCallOnSystemFunction, isIdentical, isUpdatingExpression, iterateEvents, makeStreamingAdjunct, markTailFunctionCalls, operandList, operands, operandSparseList, optimizeChildren, optimizeForType, promoteChildren, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setFiltered, setFlattened, setLocation, setParentExpression, setPostureAndSweep, setRetainedStaticContext, setRetainedStaticContextLocally, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, toStreamingPattern, typeCheckChildren, typeError, unorderedpublic StringLiteral(StringValue value)
value - the StringValuepublic StringLiteral(CharSequence value)
value - the CharSequence to be wrappedpublic StringValue getValue()
public String getStringValue()
public Expression copy()
LiteralCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.