Package com.stardog.stark.io
Class RDFHandlers.GraphBuilder
- java.lang.Object
-
- com.stardog.stark.io.AbstractRDFHandler
-
- com.stardog.stark.io.RDFHandlers.GraphBuilder
-
- All Implemented Interfaces:
RDFHandler
- Enclosing class:
- RDFHandlers
public static final class RDFHandlers.GraphBuilder extends AbstractRDFHandler
-
-
Constructor Summary
Constructors Constructor Description GraphBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Statement>
graph()
void
handle(Statement theStmt)
Event for when a statement was encounteredvoid
namespace(java.lang.String thePrefix, java.lang.String theIRI)
Event for when a namespace was encounteredNamespaces
namespaces()
-
Methods inherited from class com.stardog.stark.io.AbstractRDFHandler
end, start
-
-
-
-
Method Detail
-
namespaces
public Namespaces namespaces()
-
graph
public java.util.Set<Statement> graph()
-
namespace
public void namespace(@Nonnull java.lang.String thePrefix, @Nonnull java.lang.String theIRI)
Event for when a namespace was encountered- Specified by:
namespace
in interfaceRDFHandler
- Overrides:
namespace
in classAbstractRDFHandler
- Parameters:
thePrefix
- the namespace prefixtheIRI
- the associated IRI
-
handle
public void handle(@Nonnull Statement theStmt)
Event for when a statement was encountered- Parameters:
theStmt
- the statement
-
-