|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.expr.Expression
net.sf.saxon.expr.Literal
net.sf.saxon.expr.StringLiteral
public class StringLiteral
Subclass of Literal used specifically for string literals, as this is a common case
| Field Summary |
|---|
| Fields inherited from class net.sf.saxon.expr.Expression |
|---|
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties |
| Constructor Summary | |
|---|---|
StringLiteral(java.lang.CharSequence value)
Create a StringLiteral that wraps any CharSequence (including, of course, a String) |
|
StringLiteral(StringValue value)
Create a StringLiteral that wraps a StringValue |
|
| Method Summary | |
|---|---|
Expression |
copy()
Copy an expression. |
java.lang.String |
getStringValue()
Get the string represented by this StringLiteral |
| Methods inherited from class net.sf.saxon.expr.Literal |
|---|
addToPathMap, computeCardinality, computeSpecialProperties, effectiveBooleanValue, equals, evaluateAsString, evaluateItem, evaluatePendingUpdates, explain, getDependencies, getItemType, getValue, hashCode, isAtomic, isConstantBoolean, isConstantOne, isEmptySequence, iterate, makeEmptySequence, makeLiteral, optimize, process, simplify, toString, typeCheck |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringLiteral(StringValue value)
value - the StringValuepublic StringLiteral(java.lang.CharSequence value)
value - the CharSequence to be wrapped| Method Detail |
|---|
public java.lang.String getStringValue()
public Expression copy()
Literal
copy in class Literal
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||