org.objectweb.telosys.rpl.xml.output
Class ServiceXmlOutput

java.lang.Object
  extended byorg.objectweb.telosys.rpl.xml.output.ServiceXmlOutput

public class ServiceXmlOutput
extends java.lang.Object

Output generator for a SERVICE response


Constructor Summary
ServiceXmlOutput()
           
 
Method Summary
static void generate(ServiceResponse response, java.io.PrintWriter out, java.lang.String encoding, java.lang.String renderer)
          Generates the XML response flow for the given service response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceXmlOutput

public ServiceXmlOutput()
Method Detail

generate

public static final void generate(ServiceResponse response,
                                  java.io.PrintWriter out,
                                  java.lang.String encoding,
                                  java.lang.String renderer)
                           throws TelosysException
Generates the XML response flow for the given service response

Parameters:
response - the service response object
out -
encoding - the encoding to set in the XML prolog ( e.g. "UTF-8" ), if null the XML prolog is not generated
renderer - the renderer to use, or null if none
Throws:
TelosysException