Modifier and Type | Class and Description |
---|---|
static class |
FeedRenderer.FeedResults |
Renderer.BytesOut, Renderer.UTF8
Constructor and Description |
---|
FeedRenderer(MediaType mt,
com.hp.hpl.jena.rdf.model.Resource config,
ShortnameService sns) |
Modifier and Type | Method and Description |
---|---|
List<com.hp.hpl.jena.rdf.model.Property> |
getAuthorProperties() |
List<com.hp.hpl.jena.rdf.model.RDFNode> |
getAuthors() |
protected String |
getConfiguredNamespace() |
List<com.hp.hpl.jena.rdf.model.Property> |
getDateProperties(com.hp.hpl.jena.rdf.model.Resource config)
Return a list of date properties, most preferred first, from the
RDF list that is the value of the feedDateProperties value of
config.
|
String |
getFeedRights() |
List<com.hp.hpl.jena.rdf.model.Property> |
getLabelProperties(com.hp.hpl.jena.rdf.model.Resource config)
Return a list of label properties, most preferred first, from the
RDF list that is the value of the feedLabelProperties value of
config.
|
MediaType |
getMediaType(Bindings rc) |
CompleteContext.Mode |
getMode() |
String |
getNamespace() |
String |
getPreferredSuffix()
Answer the format suffix associated with this renderer.
|
List<com.hp.hpl.jena.rdf.model.Property> |
getRightsProperties() |
Renderer.BytesOut |
render(Times t,
Bindings b,
Map<String,String> termBindings,
APIResultSet results)
Render a result set.
|
void |
renderFeedIntoDocument(Document d,
Map<String,String> termBindings,
FeedRenderer.FeedResults results) |
public FeedRenderer(MediaType mt, com.hp.hpl.jena.rdf.model.Resource config, ShortnameService sns)
public MediaType getMediaType(Bindings rc)
getMediaType
in interface Renderer
public CompleteContext.Mode getMode()
public Renderer.BytesOut render(Times t, Bindings b, Map<String,String> termBindings, APIResultSet results)
Renderer
public String getPreferredSuffix()
Renderer
getPreferredSuffix
in interface Renderer
public List<com.hp.hpl.jena.rdf.model.Property> getDateProperties(com.hp.hpl.jena.rdf.model.Resource config)
public List<com.hp.hpl.jena.rdf.model.Property> getRightsProperties()
public List<com.hp.hpl.jena.rdf.model.RDFNode> getAuthors()
public List<com.hp.hpl.jena.rdf.model.Property> getAuthorProperties()
public String getFeedRights()
public List<com.hp.hpl.jena.rdf.model.Property> getLabelProperties(com.hp.hpl.jena.rdf.model.Resource config)
public void renderFeedIntoDocument(Document d, Map<String,String> termBindings, FeedRenderer.FeedResults results)
protected String getConfiguredNamespace()
public String getNamespace()
Copyright © 2014. All Rights Reserved.