com.raritantechnologies.quickstart.taglibrary.request
Class CompositeRequestFormatter

java.lang.Object
  extended bycom.raritantechnologies.quickstart.taglibrary.request.CompositeRequestFormatter
All Implemented Interfaces:
IConfigurable, IRequestFormatter

public class CompositeRequestFormatter
extends java.lang.Object
implements IRequestFormatter

Formats a composite HTTP request using a list of contained IRequestFormatters.

XML Configuration Template:
   <RequestFormatter class="com.raritantechnologies.quickstart.taglibrary.request.CompositeRequestFormatter"
                        useTable="[ true|false(default) ]" 
                        tableProps="[ table props to use ]" 
                        trProps="[ tr properties ]" >

     <!-- Two or more contained IRequestFormatters: -->
     <RequestFormatter class="[ class of com.raritantechnologies.quickstart.taglibrary.request.IRequestFormatter" >

     </RequestFormatter>

     <!-- Two or more contained IRequestFormatters: -->
     <RequestFormatter class="[ class of com.raritantechnologies.quickstart.taglibrary.request.IRequestFormatter" >

     </RequestFormatter>

     <!-- etc... -->

  </RequestFormatter>

 
Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Constructor Summary
CompositeRequestFormatter()
           
 
Method Summary
 java.lang.String formatSearchRequest(RaritanPageContext pageContext)
          Reformat the http request as a String.
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeRequestFormatter

public CompositeRequestFormatter()
Method Detail

formatSearchRequest

public java.lang.String formatSearchRequest(RaritanPageContext pageContext)
Description copied from interface: IRequestFormatter
Reformat the http request as a String.

Specified by:
formatSearchRequest in interface IRequestFormatter

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IRequestFormatter