|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExtractionResult
Interface defining the methods that a representation of an extraction result must have.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.any23.extractor.ErrorReporter |
|---|
ErrorReporter.Error, ErrorReporter.ErrorLevel |
| Method Summary | |
|---|---|
void |
close()
Close the result. |
ExtractionResult |
openSubResult(ExtractionContext extractionContext)
Open a result nested in the current one. |
void |
writeNamespace(String prefix,
String uri)
Write a namespace. |
void |
writeTriple(org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o)
Write a triple. |
void |
writeTriple(org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o,
org.openrdf.model.URI g)
Writes a triple. |
| Methods inherited from interface org.apache.any23.extractor.ErrorReporter |
|---|
getErrors, notifyError, printErrorsReport |
| Method Detail |
|---|
void writeTriple(org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o,
org.openrdf.model.URI g)
s - subjectp - predicateo - objectg - graph
void writeTriple(org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o)
s - subjectp - predicateo - object
void writeNamespace(String prefix,
String uri)
prefix - the prefix of the namespaceuri - the long URI identifying the namespacevoid close()
ExtractionResult openSubResult(ExtractionContext extractionContext)
extractionContext - the context to be used to open the sub result.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||