| java.lang.Object org.millstone.webadapter.UIDLTransformer
UIDLTransformer | public class UIDLTransformer (Code) | | Class implementing the MillStone WebAdapter UIDLTransformer.
The thansformer should not be created directly; it should be contructed
using getTransformer() provided by UIDLTransformerFactory.
After the transform has been done, the transformer can be recycled with
releaseTransformer() by UIDLTransformerFactory.
author: IT Mill Ltd. version: 3.1.1 since: 3.0 |
Method Summary | |
public WebPaintTarget | getPaintTarget(HttpVariableMap variableMap) Attach the output stream to transformer and get corresponding UIDLStream for
writing UI description language trough transform to given output.
Parameters: variableMap - The variable map used for UIDL creation. | public UIDLTransformerType | getTransformerType() Get the type of the transformer. | protected void | reset() Reset the transformer, before it can be used again. | public void | transform(OutputStream outputStream) Transform the UIDL to HTML and output to the OutputStream. |
getPaintTarget | public WebPaintTarget getPaintTarget(HttpVariableMap variableMap)(Code) | | Attach the output stream to transformer and get corresponding UIDLStream for
writing UI description language trough transform to given output.
Parameters: variableMap - The variable map used for UIDL creation. returns UI description language stream, that can be used for writing UIDL totransformer. |
getTransformerType | public UIDLTransformerType getTransformerType()(Code) | | Get the type of the transformer.
Type of the transformer. |
reset | protected void reset()(Code) | | Reset the transformer, before it can be used again. This also interrupts
any ongoing transform and thus should not be called before the transform
is ready. This is automaticalled by the UIDLTransformFactory, when the UIDLTransformer
has been released.
See Also: UIDLTransformerFactory.releaseTransformer(UIDLTransformer) |
transform | public void transform(OutputStream outputStream) throws UIDLTransformerException(Code) | | Transform the UIDL to HTML and output to the OutputStream.
Parameters: servletOutputStream - - The output stream to render to. |
|
|