Uses of Class
org.restlet.ext.rdf.Graph
-
Packages that use Graph Package Description org.restlet.ext.rdf Support for the RDF parsing and generation.org.restlet.ext.rdf.internal.n3 org.restlet.ext.rdf.internal.ntriples org.restlet.ext.rdf.internal.turtle org.restlet.ext.rdf.internal.xml -
-
Uses of Graph in org.restlet.ext.rdf
Fields in org.restlet.ext.rdf declared as Graph Modifier and Type Field Description private GraphRdfRepresentation. graphThe inner graph of links.private GraphRdfClientResource. linksThe links cache.private GraphGraphBuilder. linkSetThe inner graph of links.Methods in org.restlet.ext.rdf that return Graph Modifier and Type Method Description GraphRdfRepresentation. getGraph()Returns the graph of links.GraphRdfClientResource. getLinks()Returns the links exposed by this resource.private GraphGraph. getSourceAsGraph(Graph sourceGraph)Returns the source reference, either the one given in the sourceRef parameter or if it is null, the source reference of the default link.GraphLink. getSourceAsGraph()Returns the source graph.GraphLink. getTargetAsGraph()Returns the target graph.Methods in org.restlet.ext.rdf with parameters of type Graph Modifier and Type Method Description LinkGraph. add(Graph sourceGraph, Reference typeRef, Reference targetRef)Creates then adds a link.LinkGraph. add(Graph sourceGraph, Reference typeRef, Literal targetLit)Creates then adds a link.LinkGraph. addLiteral(Graph sourceGraph, java.lang.String typeRef, java.lang.String targetLit)Creates then adds a link.LinkGraph. addReference(Graph sourceGraph, java.lang.String typeRef, java.lang.String targetRef)Creates then adds a link.GraphHandlerRdfRepresentation. createBuilder(Graph graph)Returns an instance of a graph handler used when parsing the inner RDF representation.private voidRdfRepresentation. discoverNamespaces(Graph linkset, GraphHandler graphHandler)Updates the list of known namespaces for the given graph of links.private GraphGraph. getSourceAsGraph(Graph sourceGraph)Returns the source reference, either the one given in the sourceRef parameter or if it is null, the source reference of the default link.voidGraphBuilder. link(Graph source, Reference typeRef, Reference target)voidGraphBuilder. link(Graph source, Reference typeRef, Literal target)abstract voidGraphHandler. link(Graph source, Reference typeRef, Reference target)Callback method used when a link is parsed or written.abstract voidGraphHandler. link(Graph source, Reference typeRef, Literal target)Callback method used when a link is parsed or written.voidRdfRepresentation. setGraph(Graph linkSet)Sets the graph of links.voidLink. setSource(Graph sourceGraph)Sets the source as a graph.voidLink. setTarget(Graph targetGraph)Sets the target as a graph.Constructors in org.restlet.ext.rdf with parameters of type Graph Constructor Description GraphBuilder(Graph linkSet)Link(Graph sourceGraph, java.lang.String typeRef, java.lang.Object target)Constructor.Link(Graph sourceGraph, java.lang.String typeRef, Reference targetRef)Constructor.Link(Graph sourceGraph, java.lang.String 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, Reference typeRef, Literal targetLit)Constructor.RdfRepresentation(Graph linkSet, MediaType mediaType)Constructor with argument. -
Uses of Graph in org.restlet.ext.rdf.internal.n3
Methods in org.restlet.ext.rdf.internal.n3 with parameters of type Graph Modifier and Type Method Description voidRdfN3Writer. link(Graph source, Reference typeRef, Reference target)voidRdfN3Writer. link(Graph source, Reference typeRef, Literal target)private voidRdfN3Writer. write(Graph linkset)Write the representation of the given graph of links. -
Uses of Graph in org.restlet.ext.rdf.internal.ntriples
Methods in org.restlet.ext.rdf.internal.ntriples with parameters of type Graph Modifier and Type Method Description voidRdfNTriplesWriter. link(Graph source, Reference typeRef, Reference target)voidRdfNTriplesWriter. link(Graph source, Reference typeRef, Literal target) -
Uses of Graph in org.restlet.ext.rdf.internal.turtle
Methods in org.restlet.ext.rdf.internal.turtle with parameters of type Graph Modifier and Type Method Description voidRdfTurtleWriter. link(Graph source, Reference typeRef, Reference target)voidRdfTurtleWriter. link(Graph source, Reference typeRef, Literal target)private voidRdfTurtleWriter. write(Graph linkset)Write the representation of the given graph of links. -
Uses of Graph in org.restlet.ext.rdf.internal.xml
Methods in org.restlet.ext.rdf.internal.xml with parameters of type Graph Modifier and Type Method Description voidRdfXmlWriter. link(Graph source, Reference typeRef, Reference target)voidRdfXmlWriter. link(Graph source, Reference typeRef, Literal target)
-