|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.millstone.webadapter.UIDLTransformer
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.
| Nested Class Summary | |
protected class |
UIDLTransformer.TransformerErrorHandler
|
| Field Summary | |
protected static javax.xml.transform.TransformerFactory |
xsltFactory
XSLT factory |
| Constructor Summary | |
UIDLTransformer(UIDLTransformerType type,
ThemeSource themes,
WebAdapterServlet webAdapterServlet)
UIDLTransformer constructor. |
|
| Method Summary | |
WebPaintTarget |
getPaintTarget(HttpVariableMap variableMap)
Attach the output stream to transformer and get corresponding UIDLStream for writing UI description language trough transform to given output. |
UIDLTransformerType |
getTransformerType()
Get the type of the transformer. |
protected void |
reset()
Reset the transformer, before it can be used again. |
void |
transform(java.io.OutputStream outputStream)
Transform the UIDL to HTML and output to the OutputStream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static javax.xml.transform.TransformerFactory xsltFactory
| Constructor Detail |
public UIDLTransformer(UIDLTransformerType type,
ThemeSource themes,
WebAdapterServlet webAdapterServlet)
throws UIDLTransformerException
type - Type of the transformerthemes - Theme implemented by the transformer
UIDLTransformerException - UIDLTransformer exception is thrown,
if the transform can not be created.| Method Detail |
public UIDLTransformerType getTransformerType()
public WebPaintTarget getPaintTarget(HttpVariableMap variableMap)
variableMap - The variable map used for UIDL creation.
protected void reset()
UIDLTransformerFactory.releaseTransformer(UIDLTransformer)
public void transform(java.io.OutputStream outputStream)
throws UIDLTransformerException
UIDLTransformerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||