public interface ViewRenderer
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Map<String,String> options)
options for configuring the view renderer
|
String |
getConfigurationKey() |
boolean |
isRenderable(View view)
Returns
true if the renderer can render the given View. |
void |
render(View view,
Locale locale,
OutputStream output)
|
boolean isRenderable(View view)
true if the renderer can render the given View.view - a viewtrue if view can be renderedvoid render(View view, Locale locale, OutputStream output) throws IOException
view - a viewlocale - the locale in which the view should be renderedoutput - the output streamIOException - if there is an error writing to outputjavax.ws.rs.WebApplicationException - if there is an error rendering the templatevoid configure(Map<String,String> options)
options - String getConfigurationKey()
Copyright © 2019. All rights reserved.