|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.ext.rdf.GraphHandler
org.restlet.ext.rdf.GraphBuilder
public class GraphBuilder
Graph handler used when parsing an RDF representation. It completes the inner set of links with all detected ones.
| Constructor Summary | |
|---|---|
GraphBuilder(Graph linkSet)
|
|
| Method Summary | |
|---|---|
void |
link(Graph source,
Reference typeRef,
Literal target)
Callback method used when a link is parsed or written. |
void |
link(Graph source,
Reference typeRef,
Reference target)
Callback method used when a link is parsed or written. |
void |
link(Reference source,
Reference typeRef,
Literal target)
Callback method used when a link is parsed or written. |
void |
link(Reference source,
Reference typeRef,
Reference target)
Callback method used when a link is parsed or written. |
| Methods inherited from class org.restlet.ext.rdf.GraphHandler |
|---|
endGraph, endPrefixMapping, startGraph, startPrefixMapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphBuilder(Graph linkSet)
linkSet - The graph of links.| Method Detail |
|---|
public void link(Graph source,
Reference typeRef,
Literal target)
GraphHandler
link in class GraphHandlersource - The source or subject of the link.typeRef - The type reference of the link.target - The target or object of the link.
public void link(Graph source,
Reference typeRef,
Reference target)
GraphHandler
link in class GraphHandlersource - The source or subject of the link.typeRef - The type reference of the link.target - The target or object of the link.
public void link(Reference source,
Reference typeRef,
Literal target)
GraphHandler
link in class GraphHandlersource - The source or subject of the link.typeRef - The type reference of the link.target - The target or object of the link.
public void link(Reference source,
Reference typeRef,
Reference target)
GraphHandler
link in class GraphHandlersource - The source or subject of the link.typeRef - The type reference of the link.target - The target or object of the link.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||