java.lang.Object
org.apache.jena.riot.lang.LangEngine
org.apache.jena.riot.lang.LangBase
org.apache.jena.riot.lang.LangNTuple<X>
- Direct Known Subclasses:
LangNQuads
,LangNTriples
N-Quads, N-triples parser framework, with both push and pull interfaces.
- The
LangBase.parse()
method processes the whole stream of tokens, sending each to aSink
object. - The
Iterator<X>
interface yields triples one-by-one.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
SkipOnBadTerm - do not output tuples with bad RDF termsfinal boolean
hasNext()
final X
next()
void
setSkipOnBadTerm
(boolean skipOnBadTerm) SkipOnBadTerm - do not output tuples with bad RDF termsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Method Details
-
hasNext
public final boolean hasNext() -
next
-
getSkipOnBadTerm
public boolean getSkipOnBadTerm()SkipOnBadTerm - do not output tuples with bad RDF terms -
setSkipOnBadTerm
public void setSkipOnBadTerm(boolean skipOnBadTerm) SkipOnBadTerm - do not output tuples with bad RDF terms
-