|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.ext.rdf.GraphHandler
public abstract class GraphHandler
Handler for the content of a Graph. List of callbacks used when
parsing or writing a representation of a RDF graph.
| Constructor Summary | |
|---|---|
GraphHandler()
|
|
| Method Summary | |
|---|---|
void |
endGraph()
Callback method used after the graph is parsed or written. |
void |
endPrefixMapping(String prefix)
Callback method used at the end of a Namespace mapping. |
abstract void |
link(Graph source,
Reference typeRef,
Literal target)
Callback method used when a link is parsed or written. |
abstract void |
link(Graph source,
Reference typeRef,
Reference target)
Callback method used when a link is parsed or written. |
abstract void |
link(Reference source,
Reference typeRef,
Literal target)
Callback method used when a link is parsed or written. |
abstract void |
link(Reference source,
Reference typeRef,
Reference target)
Callback method used when a link is parsed or written. |
void |
startGraph()
Callback method used before the graph is parsed or written. |
void |
startPrefixMapping(String prefix,
Reference reference)
Callback method used at the start of a Namespace mapping. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphHandler()
| Method Detail |
|---|
public void endGraph()
throws IOException
IOExceptionpublic void endPrefixMapping(String prefix)
prefix - The Namespace prefix.
public abstract void link(Graph source,
Reference typeRef,
Literal target)
source - The source or subject of the link.typeRef - The type reference of the link.target - The target or object of the link.
public abstract void link(Graph source,
Reference typeRef,
Reference target)
source - The source or subject of the link.typeRef - The type reference of the link.target - The target or object of the link.
public abstract void link(Reference source,
Reference typeRef,
Literal target)
source - The source or subject of the link.typeRef - The type reference of the link.target - The target or object of the link.
public abstract void link(Reference source,
Reference typeRef,
Reference target)
source - The source or subject of the link.typeRef - The type reference of the link.target - The target or object of the link.
public void startGraph()
throws IOException
IOException
public void startPrefixMapping(String prefix,
Reference reference)
prefix - The Namespace prefix being declared.reference - The Namespace URI mapped to the prefix.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||