public interface RdfSource extends ResourceFile
| Modifier and Type | Method and Description |
|---|---|
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
|
void |
setGraph(Graph graph)
Set the Graph representation of this RDF Source
|
asBasicContainer, asContainer, asRdfSource, getContentLocation, getContentType, getEntityBody, getEntityBodyText, getType, isBasicContainer, isContainer, isRdfSource, setEntityBody, setTypeGraph getGraph()
void setGraph(Graph graph)
graph - The graph representing this RDF SourceGraph createGraph() throws LdpException, IOException
LdpExceptionIOExceptionCopyright © 2016. All rights reserved.