- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.StringValue
-
- All Implemented Interfaces:
Serializable
,Expression
,Model
,net.sf.jsqlparser.parser.ASTNodeAccess
public final class StringValue extends net.sf.jsqlparser.parser.ASTNodeAccessImpl implements Expression
A string as in 'example_string'- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
ALLOWED_PREFIXES
-
Constructor Summary
Constructors Constructor Description StringValue()
StringValue(String escapedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
boolean
equals(Object o)
String
getNotExcapedValue()
String
getPrefix()
String
getValue()
int
hashCode()
void
setPrefix(String prefix)
void
setValue(String string)
String
toString()
StringValue
withPrefix(String prefix)
StringValue
withValue(String value)
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Constructor Detail
-
StringValue
public StringValue()
-
StringValue
public StringValue(String escapedValue)
-
-
Method Detail
-
getValue
public String getValue()
-
setValue
public void setValue(String string)
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getNotExcapedValue
public String getNotExcapedValue()
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
toString
public String toString()
- Overrides:
toString
in classnet.sf.jsqlparser.parser.ASTNodeAccessImpl
-
withPrefix
public StringValue withPrefix(String prefix)
-
withValue
public StringValue withValue(String value)
-
-