public interface NIFParser
Document
instances from this
data.Modifier and Type | Method and Description |
---|---|
String |
getHttpContentType() |
List<Document> |
parseNIF(InputStream is)
Parses the NIF data read from the given InputStream and returns the list
of documents that could be found.
|
List<Document> |
parseNIF(InputStream is,
com.hp.hpl.jena.rdf.model.Model model)
Like
parseNIF(InputStream) , this method parses the NIF data
inside the given String and returns the list of documents that could be
found. |
List<Document> |
parseNIF(Reader reader)
Parses the NIF data read from the given Reader and returns the list of
documents that could be found.
|
List<Document> |
parseNIF(Reader reader,
com.hp.hpl.jena.rdf.model.Model model)
Like
parseNIF(Reader) , this method parses the NIF data inside
the given String and returns the list of documents that could be found. |
List<Document> |
parseNIF(String nifString)
Parses the NIF data inside the given String and returns the list of
documents that could be found.
|
List<Document> |
parseNIF(String nifString,
com.hp.hpl.jena.rdf.model.Model model)
Like
parseNIF(String) , this method parses the NIF data inside
the given String and returns the list of documents that could be found. |
List<Document> parseNIF(String nifString)
nifString
- a String containing the NIF dataDocument
instances found in the given NIFList<Document> parseNIF(Reader reader)
List<Document> parseNIF(InputStream is)
is
- an InputStream
from which the NIF data is readDocument
instances found in the given NIFList<Document> parseNIF(String nifString, com.hp.hpl.jena.rdf.model.Model model)
parseNIF(String)
, this method parses the NIF data inside
the given String and returns the list of documents that could be found.
But it uses the given model to store this information.
Note that the parser will use and change the data that is already inside the given model.
The aim of this method is to take a reference to a model (that might be
empty) and store all additional information that has been read but could
not be added to the created Document
instances.
nifString
- a String containing the NIF datamodel
- a model which is used to store the NIF dataDocument
instances found in the given NIFList<Document> parseNIF(Reader reader, com.hp.hpl.jena.rdf.model.Model model)
parseNIF(Reader)
, this method parses the NIF data inside
the given String and returns the list of documents that could be found.
But it uses the given model to store this information.
Note that the parser will use and change the data that is already inside the given model.
The aim of this method is to take a reference to a model (that might be
empty) and store all additional information that has been read but could
not be added to the created Document
instances.
List<Document> parseNIF(InputStream is, com.hp.hpl.jena.rdf.model.Model model)
parseNIF(InputStream)
, this method parses the NIF data
inside the given String and returns the list of documents that could be
found. But it uses the given model to store this information.
Note that the parser will use and change the data that is already inside the given model.
The aim of this method is to take a reference to a model (that might be
empty) and store all additional information that has been read but could
not be added to the created Document
instances.
is
- an InputStream
from which the NIF data is readmodel
- a model which is used to store the NIF dataDocument
instances found in the given NIFString getHttpContentType()
Copyright © 2016. All rights reserved.