Item
- public abstract class RDFBatchParser<Item>
extends net.idea.modbcum.p.batch.AbstractBatchProcessor<org.restlet.data.Reference,Item>
Modifier and Type | Field and Description |
---|---|
protected String |
baseReference |
protected org.restlet.data.MediaType |
mediaType |
protected String |
objectToParse |
protected RDFObjectIterator<Item> |
rdfObjectIterator |
Constructor and Description |
---|
RDFBatchParser(String baseReference,
String objectToParse) |
Modifier and Type | Method and Description |
---|---|
void |
afterProcessing(org.restlet.data.Reference target,
Iterator<Item> iterator) |
void |
beforeProcessing(org.restlet.data.Reference target) |
protected abstract RDFObjectIterator<Item> |
createObjectIterator(org.restlet.data.Reference target,
org.restlet.data.MediaType mediaType) |
String |
getBaseReference() |
Iterator<Item> |
getIterator(org.restlet.data.Reference target) |
void |
setBaseReference(String baseReference) |
cancel, close, getProcessorChain, getResult, getSilentInterval, getTimeout, onError, onItemProcessed, onItemProcessing, onItemRead, onItemSkipped, open, process, setConnection, setProcessorChain, setTimeout, skip
getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected RDFObjectIterator<Item> rdfObjectIterator
protected String baseReference
protected String objectToParse
protected org.restlet.data.MediaType mediaType
public String getBaseReference()
public void setBaseReference(String baseReference)
public void beforeProcessing(org.restlet.data.Reference target) throws net.idea.modbcum.i.exceptions.AmbitException
beforeProcessing
in interface net.idea.modbcum.i.processors.IBatchProcessor<org.restlet.data.Reference,Item,net.idea.modbcum.i.batch.IBatchStatistics>
beforeProcessing
in class net.idea.modbcum.p.batch.AbstractBatchProcessor<org.restlet.data.Reference,Item>
net.idea.modbcum.i.exceptions.AmbitException
protected abstract RDFObjectIterator<Item> createObjectIterator(org.restlet.data.Reference target, org.restlet.data.MediaType mediaType) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
public void afterProcessing(org.restlet.data.Reference target, Iterator<Item> iterator) throws net.idea.modbcum.i.exceptions.AmbitException
afterProcessing
in interface net.idea.modbcum.i.processors.IBatchProcessor<org.restlet.data.Reference,Item,net.idea.modbcum.i.batch.IBatchStatistics>
afterProcessing
in class net.idea.modbcum.p.batch.AbstractBatchProcessor<org.restlet.data.Reference,Item>
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.