public interface TypeRenderlet
Modifier and Type | Interface and Description |
---|---|
static class |
TypeRenderlet.RequestProperties
A class repressing properties of the rendering request within which the
TypeRenderlet is used.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.MediaType |
getMediaType() |
String |
getModePattern()
The renderer may render resources in different modes.
|
UriRef |
getRdfType() |
void |
render(GraphNode node,
GraphNode context,
Map<String,Object> sharedRenderingValues,
CallbackRenderer callbackRenderer,
TypeRenderlet.RequestProperties requestProperties,
OutputStream os)
Renders a node, possibly considering the context of the rendering request
(e.g.
|
UriRef getRdfType()
String getModePattern()
javax.ws.rs.core.MediaType getMediaType()
void render(GraphNode node, GraphNode context, Map<String,Object> sharedRenderingValues, CallbackRenderer callbackRenderer, TypeRenderlet.RequestProperties requestProperties, OutputStream os) throws IOException
node
- RDF resource to be rendered with the template.context
- RDF resource providing a rendering context, typically this
contains a description of the user for which the resource is to be renderedsharedRenderingValues
- a map that can be used for sharing values
across the different Renderlets involved in a rendering processcallbackRenderer
- renderer for call backs.requestProperties
- properties of this rendering requestos
- where the output will be written to.IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.