net.sourceforge.ajaxtags.servlets
Interface BaseAjaxXmlAction

All Known Implementing Classes:
AutocompleteServlet, BaseAjaxServlet, CalloutServlet, DropdownServlet, FormUpdateServlet, HtmlContentServlet, NameInput, TreeServlet

public interface BaseAjaxXmlAction

Simple Action which can be invoked by AjaxActionHelper.


Method Summary
 String getXmlContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Each child class should override this method to generate the specific XML content necessary for each AJAX action.
 String getXMLEncoding()
          Each child class should override this method to set the specific XML encoding.
 

Method Detail

getXmlContent

String getXmlContent(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
                     throws javax.servlet.ServletException,
                            IOException
Each child class should override this method to generate the specific XML content necessary for each AJAX action.

Parameters:
request - the HttpServletRequest object
response - the HttpServletResponse object
Returns:
a String representation of the XML response/content
Throws:
javax.servlet.ServletException - any errors
IOException - any IO error

getXMLEncoding

String getXMLEncoding()
Each child class should override this method to set the specific XML encoding.

Returns:
the XML encoding for the AJAX action


Copyright © 2005-2010 The Ajaxtags Team. All Rights Reserved.