|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Turbine service interface to Velocity.
| Field Summary | |
static java.lang.String |
SERVICE_NAME
|
| Method Summary | |
java.lang.String |
handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename)
Process the request and fill in the template using the values set in context. |
void |
handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename,
java.io.OutputStream out)
Process the request and fill in the template using the values set in context. |
void |
handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename,
java.io.OutputStream out,
java.lang.String charset,
java.lang.String encoding)
Process the request and fill in the template using the values set in context. |
java.lang.String |
handleRequest(org.apache.velocity.context.Context context,
java.lang.String template,
java.lang.String charset,
java.lang.String encoding)
Process the request and fill in the template using the values set in context. |
void |
handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename,
java.io.Writer writer)
Process the request and fill in the template using the values set in context. |
void |
handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename,
java.io.Writer writer,
java.lang.String encoding)
Process the request and fill in the template using the values set in context. |
| Methods inherited from interface org.apache.fulcrum.Service |
getCategory, getConfiguration, getRealPath, getStatus, init, isInitialized, setName, setServiceBroker, shutdown |
| Field Detail |
public static final java.lang.String SERVICE_NAME
| Method Detail |
public java.lang.String handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename)
throws java.lang.Exception
context.
context - A context to use when evaluating the specified
template.filename - The file name of the template.
Exception, - a generic exception.
java.lang.Exception
public java.lang.String handleRequest(org.apache.velocity.context.Context context,
java.lang.String template,
java.lang.String charset,
java.lang.String encoding)
throws java.lang.Exception
context.
context - A context to use when evaluating the specified
template.charset - The character set to use when writing the result.encoding - The encoding to use when merging context and
template.
Exception, - a generic exception.
java.lang.Exception
public void handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename,
java.io.OutputStream out)
throws org.apache.fulcrum.ServiceException
context.
context - A context to use when evaluating the specified
template.filename - The file name of the template.out - The stream to which we will write the processed
template as a String.
org.apache.fulcrum.ServiceException - Any exception trown while processing will be
wrapped into a ServiceException and rethrown.
public void handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename,
java.io.OutputStream out,
java.lang.String charset,
java.lang.String encoding)
throws org.apache.fulcrum.ServiceException
context.
context - A context to use when evaluating the specified
template.filename - The file name of the template.out - The stream to which we will write the processed
template as a String.charset - The character set to use when writing the result.encoding - The encoding to use when merging context and
template.
org.apache.fulcrum.ServiceException - Any exception trown while processing will be
wrapped into a ServiceException and rethrown.
public void handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename,
java.io.Writer writer)
throws org.apache.fulcrum.ServiceException
context.
context - A context to use when evaluating the specified
template.filename - The file name of the template.writer - The writer to which we will write the processed template.
org.apache.fulcrum.ServiceException - Any exception trown while processing will be
wrapped into a ServiceException and rethrown.
public void handleRequest(org.apache.velocity.context.Context context,
java.lang.String filename,
java.io.Writer writer,
java.lang.String encoding)
throws org.apache.fulcrum.ServiceException
context.
context - A context to use when evaluating the specified
template.filename - The file name of the template.writer - The writer to which we will write the processed template.encoding - The encoding to use when merging context and
template.
org.apache.fulcrum.ServiceException - Any exception trown while processing will be
wrapped into a ServiceException and rethrown.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||