| java.lang.Object org.openrdf.rio.helpers.RDFHandlerBase org.openrdf.rio.helpers.StatementCollector
StatementCollector | public class StatementCollector extends RDFHandlerBase (Code) | | A RDFHandler that can be used to collect reported statements in collections.
author: Arjohn Kampman |
Constructor Summary | |
public | StatementCollector() Creates a new StatementCollector that uses a new ArrayList to store the
reported statements and a new LinkedHashMap to store the reported
namespaces. | public | StatementCollector(Collection<Statement> statements) Creates a new StatementCollector that stores reported statements in the
supplied collection and that uses a new LinkedHashMap to store the
reported namespaces. | public | StatementCollector(Collection<Statement> statements, Map<String, String> namespaces) Creates a new StatementCollector that stores reported statements and
namespaces in the supplied containers. |
StatementCollector | public StatementCollector()(Code) | | Creates a new StatementCollector that uses a new ArrayList to store the
reported statements and a new LinkedHashMap to store the reported
namespaces.
|
StatementCollector | public StatementCollector(Collection<Statement> statements)(Code) | | Creates a new StatementCollector that stores reported statements in the
supplied collection and that uses a new LinkedHashMap to store the
reported namespaces.
|
StatementCollector | public StatementCollector(Collection<Statement> statements, Map<String, String> namespaces)(Code) | | Creates a new StatementCollector that stores reported statements and
namespaces in the supplied containers.
|
clear | public void clear()(Code) | | Clear the set of collected statements.
|
getNamespaces | public Map<String, String> getNamespaces()(Code) | | Gets the map that contains the collected namespaces.
|
|
|