public abstract class AbstractNIFWriter extends Object implements NIFWriter
| Modifier and Type | Field and Description |
|---|---|
private String |
httpContentType |
private String |
language |
private DocumentListWriter |
writer |
| Constructor and Description |
|---|
AbstractNIFWriter(String httpContentType,
String language) |
| Modifier and Type | Method and Description |
|---|---|
protected com.hp.hpl.jena.rdf.model.Model |
createNIFModel(List<Document> document) |
String |
getHttpContentType() |
String |
writeNIF(List<Document> document) |
void |
writeNIF(List<Document> document,
OutputStream os) |
void |
writeNIF(List<Document> document,
Writer writer) |
private String httpContentType
private String language
private DocumentListWriter writer
public String getHttpContentType()
getHttpContentType in interface NIFWriterpublic void writeNIF(List<Document> document, OutputStream os)
Copyright © 2015. All rights reserved.