public static class WonRdfUtils.AtomUtils
extends java.lang.Object
| Constructor and Description |
|---|
AtomUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jena.rdf.model.Resource |
getAtomResource(org.apache.jena.query.Dataset dataset)
searches for a subject of type won:Atom and returns the AtomURI
|
static org.apache.jena.rdf.model.Resource |
getAtomResource(org.apache.jena.rdf.model.Model model)
searches for a subject of type won:Atom and returns the AtomURI
|
static java.net.URI |
getAtomURI(org.apache.jena.query.Dataset dataset)
searches for a subject of type won:Atom and returns the AtomURI
|
static java.net.URI |
getAtomURI(org.apache.jena.rdf.model.Model model)
searches for a subject of type won:Atom and returns the AtomURI
|
static java.util.Iterator<java.net.URI> |
getConnectedAtoms(org.apache.jena.query.Dataset dataset,
java.net.URI atomURI) |
static java.util.Set<java.net.URI> |
getTargetConnectionURIsForTargetAtoms(org.apache.jena.query.Dataset dataset,
java.util.Collection<java.net.URI> targetAtoms,
java.util.Optional<ConnectionState> state)
Assumes that the dataset contains an atom's connection information, looks for
the specified remote atoms and returns the remote connection uris.
|
static java.net.URI |
getWonNodeURIFromAtom(org.apache.jena.query.Dataset dataset,
java.net.URI atomURI) |
public static java.net.URI getAtomURI(org.apache.jena.query.Dataset dataset)
dataset - Dataset object which will be searched for the
AtomURIURI which is of type won:Atompublic static java.net.URI getAtomURI(org.apache.jena.rdf.model.Model model)
model - Model object which will be searched for the AtomURIURI which is of type won:Atompublic static org.apache.jena.rdf.model.Resource getAtomResource(org.apache.jena.rdf.model.Model model)
model - Model object which will be searched for the AtomURIURI which is of type won:Atompublic static org.apache.jena.rdf.model.Resource getAtomResource(org.apache.jena.query.Dataset dataset)
dataset - Dataset object which will be searched for the
AtomURIURI which is of type won:Atompublic static java.net.URI getWonNodeURIFromAtom(org.apache.jena.query.Dataset dataset,
java.net.URI atomURI)
public static java.util.Iterator<java.net.URI> getConnectedAtoms(org.apache.jena.query.Dataset dataset,
java.net.URI atomURI)
public static java.util.Set<java.net.URI> getTargetConnectionURIsForTargetAtoms(org.apache.jena.query.Dataset dataset,
java.util.Collection<java.net.URI> targetAtoms,
java.util.Optional<ConnectionState> state)
Copyright © 2019. All Rights Reserved.