Package | Description |
---|---|
org.restlet.ext.rdf |
Support for the RDF parsing and generation.
|
Modifier and Type | Method and Description |
---|---|
Graph |
RdfRepresentation.getGraph()
Returns the graph of links.
|
Graph |
RdfClientResource.getLinks()
Returns the links exposed by this resource.
|
Graph |
Link.getSourceAsGraph()
Returns the source graph.
|
Graph |
Link.getTargetAsGraph()
Returns the target graph.
|
Modifier and Type | Method and Description |
---|---|
Link |
Graph.add(Graph sourceGraph,
Reference typeRef,
Literal targetLit)
Creates then adds a link.
|
Link |
Graph.add(Graph sourceGraph,
Reference typeRef,
Reference targetRef)
Creates then adds a link.
|
Link |
Graph.addLiteral(Graph sourceGraph,
java.lang.String typeRef,
java.lang.String targetLit)
Creates then adds a link.
|
Link |
Graph.addReference(Graph sourceGraph,
java.lang.String typeRef,
java.lang.String targetRef)
Creates then adds a link.
|
GraphHandler |
RdfRepresentation.createBuilder(Graph graph)
Returns an instance of a graph handler used when parsing the inner RDF
representation.
|
abstract void |
GraphHandler.link(Graph source,
Reference typeRef,
Literal target)
Callback method used when a link is parsed or written.
|
void |
GraphBuilder.link(Graph source,
Reference typeRef,
Literal target) |
abstract void |
GraphHandler.link(Graph source,
Reference typeRef,
Reference target)
Callback method used when a link is parsed or written.
|
void |
GraphBuilder.link(Graph source,
Reference typeRef,
Reference target) |
void |
RdfRepresentation.setGraph(Graph linkSet)
Sets the graph of links.
|
void |
Link.setSource(Graph sourceGraph)
Sets the source as a graph.
|
void |
Link.setTarget(Graph targetGraph)
Sets the target as a graph.
|
Constructor and Description |
---|
GraphBuilder(Graph linkSet) |
Link(Graph sourceGraph,
Reference typeRef,
Literal targetLit)
Constructor.
|
Link(Graph sourceGraph,
Reference typeRef,
java.lang.Object target)
Constructor.
|
Link(Graph sourceGraph,
Reference typeRef,
Reference targetRef)
Constructor.
|
Link(Graph sourceGraph,
java.lang.String typeRef,
Literal targetLit)
Constructor.
|
Link(Graph sourceGraph,
java.lang.String typeRef,
java.lang.Object target)
Constructor.
|
Link(Graph sourceGraph,
java.lang.String typeRef,
Reference targetRef)
Constructor.
|
RdfRepresentation(Graph linkSet,
MediaType mediaType)
Constructor with argument.
|
Copyright © 2005-2020 Restlet.