|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TransformStep defines a transformation step in a single request. It is used and then disposed of. It provides convenient facades for most of the usual output mechanisms that views and previous transforms might want. Unlike a Transform, a TransformStep is used in a single request and then thrown away.
Method Summary | |
void |
done()
This should be called after writing is complete. |
javax.servlet.http.HttpServletResponse |
getResponse()
Must calle done() when finished. |
org.xml.sax.ContentHandler |
getSAXHandler()
Must calle done() when finished. |
java.io.Writer |
getWriter()
Must calle done() when finished. |
void |
go(java.io.Reader input)
This is available if it is more convenient. |
void |
go(javax.xml.transform.Source input)
This is available if it is more convenient. |
void |
go(java.lang.String input)
This is available if it is more convenient. |
boolean |
isLast()
Your steps should always return false. |
Method Detail |
public boolean isLast()
public org.xml.sax.ContentHandler getSAXHandler() throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public javax.servlet.http.HttpServletResponse getResponse() throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public java.io.Writer getWriter() throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public void done() throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public void go(javax.xml.transform.Source input) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public void go(java.io.Reader input) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
public void go(java.lang.String input) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |