public abstract class AbstractExpressionRenderer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected StringBuilder |
builder |
protected StringRendererConfig |
config |
protected Deque<String> |
connectorDeque |
| Constructor and Description |
|---|
AbstractExpressionRenderer(StringRendererConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
append(String string) |
protected void |
appendAutoQuoted(String identifier) |
protected void |
appendBooleanLiteral(BooleanLiteral literal) |
protected void |
appendCommaWhenNeeded(ValueExpression valueExpression) |
protected void |
appendKeyword(String keyword) |
protected void |
connect(BooleanExpression expression) |
protected void |
endParenthesis() |
String |
render()
Render expression to a string
|
protected void |
setLastVisited(ValueExpression valueExpression) |
protected void |
startParenthesis() |
protected final StringRendererConfig config
protected final StringBuilder builder
public AbstractExpressionRenderer(StringRendererConfig config)
protected void appendKeyword(String keyword)
protected void connect(BooleanExpression expression)
protected void appendBooleanLiteral(BooleanLiteral literal)
protected void startParenthesis()
protected void endParenthesis()
protected void append(String string)
protected void appendAutoQuoted(String identifier)
protected void appendCommaWhenNeeded(ValueExpression valueExpression)
protected void setLastVisited(ValueExpression valueExpression)
public String render()
Copyright © 2018–2020. All rights reserved.