This interface contains all the methods that the web engine needs to be
able to send a response to the client.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ since: 1.1
Creates a new Response instance that will be used for
embedded elements.
Parameters: valueId - the template value in which the embedded element willbe processed Parameters: differentiator - the embedded element differentiator the new Response instance for embedded use since: 1.5
enableTextBuffer
public void enableTextBuffer(boolean enabled)(Code)
Enables or disabled the text output buffer.
The buffer is enabled by default and its buffered contents will be
flushed when the buffer is disabled.
Parameters: enabled - true to enable the text buffer; or
Prints the string representation of an object to the request text
output. The string representation will be created through a
String.valueOf(value) call.
Parameters: value - the object that will be output exception: com.uwyn.rife.engine.exceptions.EngineException - if an erroroccurs during the output of the content See Also:Response.print(Template) See Also:Response.print(Collection) since: 1.1
Sets the latest target element of this response. This method is called
repeatedly by the engine to make it possible to trace which elements
have been processed.
Parameters: element - an element that has been executed in the context of thisresponse since: 1.1