net.sf.jsqlparser.util.deparser
Class UpdateDeParser

java.lang.Object
  extended by net.sf.jsqlparser.util.deparser.UpdateDeParser

public class UpdateDeParser
extends java.lang.Object

A class to de-parse (that is, tranform from JSqlParser hierarchy into a string) an Update


Field Summary
protected  java.lang.StringBuffer buffer
           
protected  ExpressionVisitor expressionVisitor
           
 
Constructor Summary
UpdateDeParser()
           
UpdateDeParser(ExpressionVisitor expressionVisitor, java.lang.StringBuffer buffer)
           
 
Method Summary
 void deParse(Update update)
           
 java.lang.StringBuffer getBuffer()
           
 ExpressionVisitor getExpressionVisitor()
           
 void setBuffer(java.lang.StringBuffer buffer)
           
 void setExpressionVisitor(ExpressionVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

protected java.lang.StringBuffer buffer

expressionVisitor

protected ExpressionVisitor expressionVisitor
Constructor Detail

UpdateDeParser

public UpdateDeParser()

UpdateDeParser

public UpdateDeParser(ExpressionVisitor expressionVisitor,
                      java.lang.StringBuffer buffer)
Parameters:
expressionVisitor - a ExpressionVisitor to de-parse expressions. It has to share the same
StringBuffer (buffer parameter) as this object in order to work
buffer - the buffer that will be filled with the select
Method Detail

getBuffer

public java.lang.StringBuffer getBuffer()

setBuffer

public void setBuffer(java.lang.StringBuffer buffer)

deParse

public void deParse(Update update)

getExpressionVisitor

public ExpressionVisitor getExpressionVisitor()

setExpressionVisitor

public void setExpressionVisitor(ExpressionVisitor visitor)