Skip to content
Markus Sabadello edited this page Feb 6, 2017 · 42 revisions

Implementation of the XDI graph model and several higher-level features [.jar]

Maven Dependency

<dependency>
	<groupId>xdi2</groupId>
	<artifactId>xdi2-core</artifactId>
	<version>${xdi2-version}</version>
	<scope>compile</scope>
</dependency>

Quickstart

Graph graph = MemoryGraphFactory.getInstance().openGraph();
graph.setStatement(XDIStatement.create("=markus<#email>/&/\"markus@danubetech.com\""));
graph.setStatement(XDIStatement.create("=markus/#friend/=animesh"));

System.out.println(graph.toString("JXD", null));

Topics

Components

Examples

For examples, see the following Github repository:

Clone this wiki locally