de.oio.sqlrest.xml
Class AbstractResponseBuilder

java.lang.Object
  |
  +--de.oio.sqlrest.xml.AbstractResponseBuilder
All Implemented Interfaces:
ResponseBuilder
Direct Known Subclasses:
CreateEntityHandler, ModifyEntityHandler, RowDeleteResponseBuilder, TableDetailResponseBuilder, TableListResponseBuilder, TableResponseBuilder

public abstract class AbstractResponseBuilder
extends java.lang.Object
implements ResponseBuilder

Author:
tbayer

Constructor Summary
AbstractResponseBuilder(javax.servlet.http.HttpServletRequest aRequest, javax.servlet.http.HttpServletResponse aResponse, DatabaseInfo aDatabaseInfo)
          Constructor for AbstractResponseBuilder.
 
Method Summary
 void end()
           
abstract  void generate()
           
 java.lang.String getPrimaryKey()
           
 java.lang.String getTableName()
           
 void start()
           
 void text(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractResponseBuilder

public AbstractResponseBuilder(javax.servlet.http.HttpServletRequest aRequest,
                               javax.servlet.http.HttpServletResponse aResponse,
                               DatabaseInfo aDatabaseInfo)
                        throws java.io.IOException
Constructor for AbstractResponseBuilder.

Method Detail

generate

public abstract void generate()
                       throws java.lang.Exception
Specified by:
generate in interface ResponseBuilder
java.lang.Exception

start

public void start()
           throws org.xml.sax.SAXException
Specified by:
start in interface ResponseBuilder
org.xml.sax.SAXException
See Also:
ResponseBuilder.start()

end

public void end()
         throws org.xml.sax.SAXException
Specified by:
end in interface ResponseBuilder
org.xml.sax.SAXException

text

public void text(java.lang.String str)
          throws org.xml.sax.SAXException
org.xml.sax.SAXException

getTableName

public java.lang.String getTableName()

getPrimaryKey

public java.lang.String getPrimaryKey()


Copyright Orientation in Objects GmbH. All Rights Reserved.