public 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 |
appendBooleanLiteral(BooleanLiteral literal) |
protected void |
appendKeyword(String keyword) |
protected void |
appendStringLiteral(String value) |
protected void |
connect(BooleanExpression expression) |
protected void |
endParenthesis() |
String |
render()
Render expression to a string
|
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 appendStringLiteral(String value)
protected void appendBooleanLiteral(BooleanLiteral literal)
protected void startParenthesis()
protected void endParenthesis()
protected void append(String string)
public String render()
Copyright © 2018–2019. All rights reserved.