org.apache.wicket.ajax
Class XmlAjaxResponse

java.lang.Object
  extended by org.apache.wicket.ajax.AbstractAjaxResponse
      extended by org.apache.wicket.ajax.XmlAjaxResponse

public abstract class XmlAjaxResponse
extends AbstractAjaxResponse

An AbstractAjaxResponse that serializes itself to XML.

The elements of such response are:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.ajax.AbstractAjaxResponse
AbstractAjaxResponse.AjaxResponse
 
Field Summary
static String END_ROOT_ELEMENT
           
static String START_ROOT_ELEMENT
          The name of the root element in the produced XML document.
 
Fields inherited from class org.apache.wicket.ajax.AbstractAjaxResponse
appendJavaScripts, componentsFrozen, domReadyJavaScripts, encodingBodyResponse, encodingHeaderResponse, header, markupIdToComponent, prependJavaScripts
 
Constructor Summary
XmlAjaxResponse(Page page)
           
 
Method Summary
 void setContentType(WebResponse response, String encoding)
          Sets the Content-Type header to indicate the type of the Ajax response.
protected  void writeComponent(Response response, String markupId, Component component, String encoding)
          Writes a single component
protected  void writeFooter(Response response, String encoding)
           
protected  void writeHeader(Response response, String encoding)
          Writes the head part of the response.
protected  void writeHeaderContribution(Response response)
          Writes header contribution ( or

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.