public class InsertDeParser extends java.lang.Object implements ItemsListVisitor
Insert
Modifier and Type | Field and Description |
---|---|
protected java.lang.StringBuffer |
buffer |
protected ExpressionVisitor |
expressionVisitor |
protected SelectVisitor |
selectVisitor |
Constructor and Description |
---|
InsertDeParser() |
InsertDeParser(ExpressionVisitor expressionVisitor,
SelectVisitor selectVisitor,
java.lang.StringBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
deParse(Insert insert) |
java.lang.StringBuffer |
getBuffer() |
ExpressionVisitor |
getExpressionVisitor() |
SelectVisitor |
getSelectVisitor() |
void |
setBuffer(java.lang.StringBuffer buffer) |
void |
setExpressionVisitor(ExpressionVisitor visitor) |
void |
setSelectVisitor(SelectVisitor visitor) |
void |
visit(ExpressionList expressionList) |
void |
visit(SubSelect subSelect) |
protected java.lang.StringBuffer buffer
protected ExpressionVisitor expressionVisitor
protected SelectVisitor selectVisitor
public InsertDeParser()
public InsertDeParser(ExpressionVisitor expressionVisitor, SelectVisitor selectVisitor, java.lang.StringBuffer buffer)
expressionVisitor
- a ExpressionVisitor
to de-parse Expression
s. It has to share the sameselectVisitor
- a SelectVisitor
to de-parse Select
s.
It has to share the samebuffer
- the buffer that will be filled with the insertpublic java.lang.StringBuffer getBuffer()
public void setBuffer(java.lang.StringBuffer buffer)
public void deParse(Insert insert)
public void visit(ExpressionList expressionList)
visit
in interface ItemsListVisitor
public void visit(SubSelect subSelect)
visit
in interface ItemsListVisitor
public ExpressionVisitor getExpressionVisitor()
public SelectVisitor getSelectVisitor()
public void setExpressionVisitor(ExpressionVisitor visitor)
public void setSelectVisitor(SelectVisitor visitor)