public class SspTypeRenderlet extends Object implements TypeRenderlet
TypeRenderlet.RequestProperties
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.
|
String |
toString() |
public UriRef getRdfType()
getRdfType
in interface TypeRenderlet
public String getModePattern()
TypeRenderlet
getModePattern
in interface TypeRenderlet
public javax.ws.rs.core.MediaType getMediaType()
getMediaType
in interface TypeRenderlet
public void render(GraphNode node, GraphNode context, Map<String,Object> sharedRenderingValues, CallbackRenderer callbackRenderer, TypeRenderlet.RequestProperties requestProperties, OutputStream os) throws IOException
TypeRenderlet
render
in interface TypeRenderlet
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.