public interface TripleHandler
Modifier and Type | Method and Description |
---|---|
void |
handleBaseDirective(IRI base)
Handle base directive.
|
void |
handleComment(String comment)
Handle comment.
|
void |
handleEnd()
Handle end.
|
void |
handlePrefixDirective(String prefixName,
String prefix)
Handle prefix directive.
|
void |
handleTriple(IRI subject,
IRI predicate,
IRI object)
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object)
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object,
IRI datatype)
Handle triple.
|
void |
handleTriple(IRI subject,
IRI predicate,
String object,
String lang)
Handle triple.
|
void handlePrefixDirective(String prefixName, String prefix)
prefixName
- the prefix nameprefix
- the prefixvoid handleBaseDirective(IRI base)
base
- the basevoid handleComment(String comment)
comment
- the commentvoid handleTriple(IRI subject, IRI predicate, IRI object)
subject
- the subjectpredicate
- the predicateobject
- the objectvoid handleTriple(IRI subject, IRI predicate, String object)
subject
- the subjectpredicate
- the predicateobject
- the objectvoid handleTriple(IRI subject, IRI predicate, String object, @Nullable String lang)
subject
- the subjectpredicate
- the predicateobject
- the objectlang
- the language tagvoid handleTriple(IRI subject, IRI predicate, String object, @Nullable IRI datatype)
subject
- the subjectpredicate
- the predicateobject
- the objectdatatype
- the datatypevoid handleEnd()
Copyright © 2020 The University of Manchester. All rights reserved.