public class STTLHandler extends Object implements LoweringHandler
Modifier and Type | Field and Description |
---|---|
static String |
CORESE_RULES_MEDIA_TYPE |
Constructor and Description |
---|
STTLHandler(String base,
PresentationUtils presentationUtils) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getLiftingRulesUris(ResourceDescription presentation) |
List<String> |
getLoweringRulesUris(ResourceDescription presentation) |
protected String |
getRule(String url,
String accept) |
void |
lower(org.apache.jena.rdf.model.Model model,
OutputStream entityStream,
javax.ws.rs.core.MediaType mediaType) |
void |
lower(org.apache.jena.rdf.model.Model model,
OutputStream entityStream,
javax.ws.rs.core.MediaType mediaType,
ResourceDescription presentation) |
public static final String CORESE_RULES_MEDIA_TYPE
@Inject public STTLHandler(String base, PresentationUtils presentationUtils)
public void lower(org.apache.jena.rdf.model.Model model, OutputStream entityStream, javax.ws.rs.core.MediaType mediaType) throws RDFPException
lower
in interface LoweringHandler
RDFPException
public void lower(org.apache.jena.rdf.model.Model model, OutputStream entityStream, javax.ws.rs.core.MediaType mediaType, ResourceDescription presentation) throws RDFPException
lower
in interface LoweringHandler
RDFPException
public List<String> getLiftingRulesUris(ResourceDescription presentation)
public List<String> getLoweringRulesUris(ResourceDescription presentation)
protected String getRule(String url, String accept) throws IOException
IOException
Copyright © 2016–2017 ITEA 12004 SEAS Project. All rights reserved.