net.sf.saxon.expr
Class StringLiteral
- EvaluableItem, InstructionInfoProvider, SequenceIterable, Serializable, SourceLocator
public class StringLiteral
Subclass of Literal used specifically for string literals, as this is a common case
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
|
String | getStringValue()- Get the string represented by this StringLiteral
|
addToPathMap, computeCardinality, computeSpecialProperties, copy, effectiveBooleanValue, equals, evaluateAsString, evaluateItem, explain, getDependencies, getItemType, getValue, hashCode, isAtomic, isConstantBoolean, isConstantOne, isEmptySequence, iterate, makeEmptySequence, makeLiteral, optimize, process, simplify, toString, typeCheck |
addToPathMap, adoptChildExpression, checkPermittedContents, computeCardinality, computeDependencies, computeSpecialProperties, computeStaticProperties, copy, display, doPromotion, dynamicError, effectiveBooleanValue, evaluateAsString, evaluateItem, explain, explain, findParentOf, getCardinality, getColumnNumber, getConstructType, getContainer, getDependencies, getExecutable, getHostLanguage, getImplementationMethod, getInstructionInfo, getIntrinsicDependencies, getItemType, getLineNumber, getLocationId, getLocationProvider, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, hasLoopingSubexpression, implementsStaticTypeCheck, iterate, iterateEvents, iterateSubExpressions, markTailFunctionCalls, optimize, process, promote, replaceSubExpression, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, simplify, staticTypeCheck, suppressValidation, toString, typeCheck, typeError |
StringLiteral
public StringLiteral(CharSequence value)
Create a StringLiteral that wraps any CharSequence (including, of course, a String)
value - the CharSequence to be wrapped
StringLiteral
public StringLiteral(StringValue value)
Create a StringLiteral that wraps a StringValue
getStringValue
public String getStringValue()
Get the string represented by this StringLiteral