public class GraphBuilder extends GraphHandler
| Constructor and Description |
|---|
GraphBuilder(Graph linkSet) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
endGraph, endPrefixMapping, startGraph, startPrefixMappingpublic GraphBuilder(Graph linkSet)
linkSet - The graph of links.public void link(Graph source, Reference typeRef, Literal target)
GraphHandlerlink 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)
GraphHandlerlink 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)
GraphHandlerlink 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)
GraphHandlerlink 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.Copyright © 2005-2024 Restlet.