public class StringLiteral extends Literal
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_COST, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description |
|---|
StringLiteral(java.lang.String value)
Create a StringLiteral that wraps a String
|
StringLiteral(StringValue value)
Create a StringLiteral that wraps a StringValue
|
StringLiteral(UnicodeString value)
Create a StringLiteral that wraps any UnicodeString
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
copy(RebindingMap rebindings)
Copy an expression.
|
StringValue |
getGroundedValue()
Get the value represented by this Literal
|
UnicodeString |
getString()
Get the string represented by this StringLiteral, as a UnicodeString
|
java.lang.String |
stringify()
Get the string represented by this StringLiteral, as a String
|
addToPathMap, computeCardinality, computeHashCode, computeSpecialProperties, effectiveBooleanValue, equals, evaluateAsString, evaluateItem, evaluatePendingUpdates, export, exportAtomicValue, exportValue, getDependencies, getExpressionName, getImplementationMethod, getIntegerBounds, getItemType, getNetCost, getStaticUType, getStreamerName, hasEffectiveBooleanValue, isAtomic, isConstantBoolean, isConstantOne, isEmptySequence, isSubtreeExpression, isVacuousExpression, iterate, iterate, makeEmptySequence, makeLiteral, makeLiteral, optimize, process, toPattern, toShortString, toString, typeCheckadoptChildExpression, allowExtractingCommonSubexpressions, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, dynamicError, explain, getCardinality, getConfiguration, getCost, getEvaluationMethod, getExtraProperty, getInterpretedExpression, getIntrinsicDependencies, getLocalRetainedStaticContext, getLocation, getObjectName, getPackageData, getParentExpression, getProperties, getProperty, getRetainedStaticContext, getScopingExpression, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStaticType, getTracingTag, hasCompatibleStaticContext, hashCode, hasSpecialProperty, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isEqual, isIdentical, isInstruction, isLiftable, isMultiThreaded, isStaticPropertiesKnown, isUpdatingExpression, markTailFunctionCalls, operandList, operands, operandSparseList, optimizeChildren, prepareForStreaming, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setExtraProperty, setFiltered, setFlattened, setLocation, setParentExpression, setRetainedStaticContext, setRetainedStaticContextLocally, setRetainedStaticContextThoroughly, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, typeCheckChildren, typeError, unordered, verifyParentPointersclone, finalize, getClass, notify, notifyAll, wait, wait, waitgatherPropertiespublic StringLiteral(StringValue value)
value - the StringValuepublic StringLiteral(UnicodeString value)
value - the UnicodeString to be wrappedpublic StringLiteral(java.lang.String value)
value - the String to be wrappedpublic StringValue getGroundedValue()
getGroundedValue in class Literalpublic UnicodeString getString()
public java.lang.String stringify()
public Expression copy(RebindingMap rebindings)
LiteralCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.