public class RdfSourceImpl extends ResourceFileImpl implements RdfSource
body, contentLocation, contentType, type| Constructor and Description |
|---|
RdfSourceImpl(String contentLocation,
String contentType,
ResourceType type,
byte[] body) |
| Modifier and Type | Method and Description |
|---|---|
RdfSource |
asRdfSource() |
Graph |
createGraph()
Create a Graph from the entity body, or return the previously
created graph.
|
Graph |
getGraph()
Get a Graph representation of this RDF Source
|
boolean |
isRdfSource() |
void |
setGraph(Graph graph)
Set the Graph representation of this RDF Source
|
asBasicContainer, asContainer, getContentLocation, getContentType, getEntityBody, getEntityBodyText, getType, isBasicContainer, isContainer, setEntityBody, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasBasicContainer, asContainer, getContentLocation, getContentType, getEntityBody, getEntityBodyText, getType, isBasicContainer, isContainer, setEntityBody, setTypepublic RdfSourceImpl(String contentLocation, String contentType, ResourceType type, byte[] body)
public Graph getGraph()
RdfSourcepublic void setGraph(Graph graph)
RdfSourcepublic boolean isRdfSource()
isRdfSource in interface ResourceFileisRdfSource in class ResourceFileImplpublic RdfSource asRdfSource()
asRdfSource in interface ResourceFileasRdfSource in class ResourceFileImplpublic Graph createGraph() throws LdpException, IOException
RdfSourcecreateGraph in interface RdfSourceLdpExceptionIOExceptionCopyright © 2019. All rights reserved.