public final class StringValue
extends java.lang.Object
Constructor and Description |
---|
StringValue() |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
escapeDot(java.lang.String identifierToEscape)
Escape all unescape dot characters in the text (identifier only) passed in.
|
static java.lang.String |
parseString(java.lang.String value)
Parse the string literal consisting of text between double-quotes or single-quotes.
|
static java.lang.String |
removeTicks(java.lang.String tickedString)
Remove tick '`' character from a string start and end.
|
static void |
renderConstantAsEPL(java.io.StringWriter writer,
java.lang.Object constant)
Renders a constant as an EPL.
|
static java.lang.String |
unescapeBacktick(java.lang.String text) |
static int |
unescapedIndexOfDot(java.lang.String identifier)
Find the index of an unescaped dot (.) character, or return -1 if none found.
|
static java.lang.String |
unescapeDot(java.lang.String identifierToUnescape)
Un-Escape all escaped dot characters in the text (identifier only) passed in.
|
public static java.lang.String parseString(java.lang.String value)
value
- is the text wthin double or single quotespublic static int unescapedIndexOfDot(java.lang.String identifier)
identifier
- text to find an un-escaped dot characterprotected static java.lang.String escapeDot(java.lang.String identifierToEscape)
identifierToEscape
- text to escapepublic static java.lang.String unescapeDot(java.lang.String identifierToUnescape)
identifierToUnescape
- text to un-escapepublic static java.lang.String unescapeBacktick(java.lang.String text)
public static void renderConstantAsEPL(java.io.StringWriter writer, java.lang.Object constant)
writer
- to output toconstant
- to renderpublic static java.lang.String removeTicks(java.lang.String tickedString)
tickedString
- delimited string