Expression that wraps a string.
| Modifier and Type | Field and Description |
|---|---|
| private final String | value
The wrapped string value. |
| Access | Constructor and Description |
|---|---|
| pack-priv | DefaultStringExpression(AbstractExpression
The owningExpression, String Expression from where the text value comesThe string value to wrap with this value)ExpressionCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ExpressionVisitor
The visitor)ExpressionVisitor to visit this objectImplements org. Expression by the given visitor.
|
| public void | acceptChildren(ExpressionVisitor
The visitor)visitor to visit the children of this object.Implements org. Expression.
|
| public JPQLQueryBNF | getQueryBNF()
Implements org. Expression.
|
| protected void | parse(WordParser
The text to parse based on the current position of the cursor wordParser, boolean Determines whether the parsing system should be tolerant, meaning if it should
try to parse invalid or incomplete queries tolerant)Implements abstract org. WordParser.
|
| public void | populatePosition(QueryPosition queryPosition, int
The array has one element and is the position of the position)Expression to retrieveOverrides org. Implements org. Expression located at the given position using the actual query,
which may have extra whitespace.
|
| protected void | toParsedText(StringBuilder
The buffer used to append this writer, boolean Expression's string representationDetermines whether the string representation should represent what was parsed,
i.e. include any "virtual" whitespace (such as ending whitespace) and the actual case of the
JPQL identifiers actual)Implements abstract org. Expression, including its children,
if it has any.
|
| value | back to summary |
|---|---|
| private final String value The wrapped string value. | |
| DefaultStringExpression | back to summary |
|---|---|
| pack-priv DefaultStringExpression(AbstractExpression owningExpression, String value) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(ExpressionVisitor visitor) Implements org. Doc from org. Visits this
| |
| acceptChildren | back to summary |
|---|---|
| public void acceptChildren(ExpressionVisitor visitor) Implements org. Doc from org. Visits the children of this
This does not traverse the
| |
| getQueryBNF | back to summary |
|---|---|
| public JPQLQueryBNF getQueryBNF() Implements org. Doc from org. Returns the BNF of this
| |
| parse | back to summary |
|---|---|
| protected void parse(WordParser wordParser, boolean tolerant) Implements abstract org. Doc from org. Parses the query by starting at the current position, which is part of the given
| |
| populatePosition | back to summary |
|---|---|
| public void populatePosition(QueryPosition queryPosition, int position) Overrides org. Implements org. Doc from org. Retrieves the
| |
| toParsedText | back to summary |
|---|---|
| protected void toParsedText(StringBuilder writer, boolean actual) Implements abstract org. Doc from org. Generates a string representation of this
| |