public class RDFStructuresIterator extends RDFDataEntryIterator<IStructureRecord,Property>
IStructureRecord
Modifier and Type | Field and Description |
---|---|
protected Hashtable<String,Property> |
lookup |
protected RDFPropertyIterator |
propertyIterator |
conformerTemplate, featureTemplate
baseReference, forceReadRDFLocalObjects, iterateSubjects, jenaModel, mediaType, record, recordIterator, reference, referer, template, topObject
Constructor and Description |
---|
RDFStructuresIterator(InputStream in,
org.restlet.data.MediaType mediaType) |
RDFStructuresIterator(com.hp.hpl.jena.rdf.model.Model model) |
RDFStructuresIterator(com.hp.hpl.jena.rdf.model.Model model,
com.hp.hpl.jena.rdf.model.StmtIterator recordIterator) |
RDFStructuresIterator(org.restlet.data.Reference reference,
org.restlet.data.MediaType mediaType,
String referer) |
RDFStructuresIterator(org.restlet.data.Reference reference,
String referer) |
RDFStructuresIterator(org.restlet.representation.Representation representation,
org.restlet.data.MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
protected Property |
createFeature(com.hp.hpl.jena.rdf.model.RDFNode feature) |
protected IStructureRecord |
createRecord() |
protected void |
parseFeatureURI(String uri,
Property property) |
protected void |
parseFeatureValues(com.hp.hpl.jena.rdf.model.Resource dataEntry,
IStructureRecord record) |
boolean |
readStructure(com.hp.hpl.jena.rdf.model.RDFNode target,
IStructureRecord record) |
protected void |
setFeatureValue(IStructureRecord record,
Property key,
com.hp.hpl.jena.rdf.model.RDFNode value) |
protected void |
setIDChemical(int idchemical) |
protected void |
setIDConformer(int idstructure) |
createTemplate, parseObjectURI, parseRecord
close, createResource, getBaseReference, getCreator, getJenaModel, getMediaType, getPropertyNode, getPropertyValue, getTemplate, getTitle, getURI, hasNext, isCloseModel, isForceReadRDFLocalObjects, isIterateSubjects, next, remove, removeDatasetFragment, setBaseReference, setCloseModel, setForceReadRDFLocalObjects, setIterateSubjects, setMediaType, skip
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected RDFPropertyIterator propertyIterator
public RDFStructuresIterator(org.restlet.representation.Representation representation, org.restlet.data.MediaType mediaType) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
public RDFStructuresIterator(org.restlet.data.Reference reference, String referer) throws org.restlet.resource.ResourceException, MalformedURLException, IOException
org.restlet.resource.ResourceException
MalformedURLException
IOException
public RDFStructuresIterator(org.restlet.data.Reference reference, org.restlet.data.MediaType mediaType, String referer) throws org.restlet.resource.ResourceException, MalformedURLException, IOException
org.restlet.resource.ResourceException
MalformedURLException
IOException
public RDFStructuresIterator(InputStream in, org.restlet.data.MediaType mediaType) throws org.restlet.resource.ResourceException, MalformedURLException, IOException
org.restlet.resource.ResourceException
MalformedURLException
IOException
public RDFStructuresIterator(com.hp.hpl.jena.rdf.model.Model model, com.hp.hpl.jena.rdf.model.StmtIterator recordIterator)
public RDFStructuresIterator(com.hp.hpl.jena.rdf.model.Model model)
protected Property createFeature(com.hp.hpl.jena.rdf.model.RDFNode feature)
createFeature
in class RDFDataEntryIterator<IStructureRecord,Property>
protected void parseFeatureURI(String uri, Property property)
parseFeatureURI
in class RDFDataEntryIterator<IStructureRecord,Property>
public boolean readStructure(com.hp.hpl.jena.rdf.model.RDFNode target, IStructureRecord record)
readStructure
in class RDFDataEntryIterator<IStructureRecord,Property>
protected void setFeatureValue(IStructureRecord record, Property key, com.hp.hpl.jena.rdf.model.RDFNode value)
setFeatureValue
in class RDFDataEntryIterator<IStructureRecord,Property>
protected void setIDChemical(int idchemical)
setIDChemical
in class RDFDataEntryIterator<IStructureRecord,Property>
protected void setIDConformer(int idstructure)
setIDConformer
in class RDFDataEntryIterator<IStructureRecord,Property>
protected IStructureRecord createRecord()
createRecord
in class RDFObjectIterator<IStructureRecord>
protected void parseFeatureValues(com.hp.hpl.jena.rdf.model.Resource dataEntry, IStructureRecord record)
parseFeatureValues
in class RDFDataEntryIterator<IStructureRecord,Property>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.