eu.larkc.core.data
Class HTTPRemoteGraph
java.lang.Object
eu.larkc.core.data.RdfGraphBase
eu.larkc.core.data.HTTPRemoteGraph
- All Implemented Interfaces:
- InformationSet, RdfGraph, SetOfStatements, java.io.Serializable
public class HTTPRemoteGraph
- extends RdfGraphBase
HTTPRemoteGraph is RDF named graph passed by reference. The class could be
used to access RDF data published in the web and access via HTTP protocol.
The implementation supports a 303 URL redirection.
- Author:
- vassil
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
HTTPRemoteGraph
public HTTPRemoteGraph(org.openrdf.model.URI uri)
- Constructor
- Parameters:
uri
- is resolveable address that contains the data.
getStatements
public CloseableIterator<org.openrdf.model.Statement> getStatements()
- Description copied from interface:
SetOfStatements
- Iterates the statements.
- Returns:
- closeableiterator over the statements.s
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toRDF
public SetOfStatements toRDF(SetOfStatements data)
- Description copied from interface:
InformationSet
- Serializes this object to SetOfStatements.
- Parameters:
data
- is stream to serialize this object to.
- Returns:
- reference to the set of statements that contains the serialized
data.