public class SubstanceStudyParser extends org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader implements IRawReader<IStructureRecord>, ICiteable
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
dx |
protected int |
index |
protected static Logger |
logger |
protected SubstanceRecord |
record |
protected com.fasterxml.jackson.databind.node.ArrayNode |
study |
protected com.fasterxml.jackson.databind.node.ArrayNode |
substance |
Constructor and Description |
---|
SubstanceStudyParser(InputStreamReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected EffectRecord |
createEffectRecord(Protocol protocol) |
protected void |
generateDocumentUUID(ProtocolApplication papp) |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
ILiteratureEntry |
getReference() |
protected void |
handleException(Exception x) |
boolean |
hasNext() |
Object |
next() |
IStructureRecord |
nextRecord() |
protected void |
parseCompany(com.fasterxml.jackson.databind.node.ObjectNode node,
ProtocolApplication record) |
List<CompositionRelation> |
parseComposition(com.fasterxml.jackson.databind.JsonNode node)
TODO
|
static IParams |
parseConditions(com.fasterxml.jackson.databind.ObjectMapper dx,
Object json) |
List<EffectRecord> |
parseEffects(com.fasterxml.jackson.databind.node.ArrayNode node,
Protocol protocol) |
void |
parseInterpretation(com.fasterxml.jackson.databind.node.ObjectNode node,
ProtocolApplication record) |
void |
parseInterpretationCriteria(com.fasterxml.jackson.databind.node.ObjectNode node,
ProtocolApplication record) |
void |
parseInterpretedResult(com.fasterxml.jackson.databind.node.ObjectNode node,
ProtocolApplication record) |
void |
parseOwner(com.fasterxml.jackson.databind.node.ObjectNode node,
ProtocolApplication record) |
static IParams |
parseParams(com.fasterxml.jackson.databind.node.ObjectNode node) |
Protocol |
parseProtocol(com.fasterxml.jackson.databind.node.ObjectNode node) |
ProtocolApplication |
parseProtocolApplication(com.fasterxml.jackson.databind.node.ObjectNode node) |
List<ProtocolApplication> |
parseProtocolApplication(Reader reader,
SubstanceRecord record) |
List<ProtocolApplication> |
parseProtocolApplications(com.fasterxml.jackson.databind.JsonNode papps,
SubstanceRecord record) |
protected void |
parseReliability(com.fasterxml.jackson.databind.node.ObjectNode node,
ProtocolApplication record) |
void |
parseResult(com.fasterxml.jackson.databind.node.ObjectNode node,
EffectRecord record) |
protected void |
parseStudyReference(com.fasterxml.jackson.databind.node.ObjectNode node,
ProtocolApplication record) |
SubstanceRecord |
parseSubstance(com.fasterxml.jackson.databind.JsonNode node) |
protected void |
parseSubstance(com.fasterxml.jackson.databind.node.ObjectNode node,
ProtocolApplication record) |
SubstanceRecord |
parseSubstance(Reader reader) |
static IParams |
parseTextValueProteomics(com.fasterxml.jackson.databind.ObjectMapper dx,
String t) |
void |
parseValueAnnotated(com.fasterxml.jackson.databind.node.ObjectNode node,
ValueAnnotated record) |
List<ValueAnnotated> |
parseValuesAnnotated(com.fasterxml.jackson.databind.node.ArrayNode node,
Protocol protocol) |
void |
setReader(InputStream in) |
void |
setReader(Reader reader) |
void |
setReference(ILiteratureEntry reference) |
accepts, handleError, handleError, handleError, handleError, remove, setErrorHandler, setReaderMode
addChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleError, handleError, handleError, handleError, setErrorHandler, setReaderMode
accepts, addChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListener
forEachRemaining, remove
protected static Logger logger
protected com.fasterxml.jackson.databind.ObjectMapper dx
protected com.fasterxml.jackson.databind.node.ArrayNode substance
protected com.fasterxml.jackson.databind.node.ArrayNode study
protected int index
protected SubstanceRecord record
public SubstanceStudyParser(InputStreamReader reader) throws Exception
Exception
public void setReader(Reader reader) throws org.openscience.cdk.exception.CDKException
setReader
in interface org.openscience.cdk.io.IChemObjectReader
org.openscience.cdk.exception.CDKException
public void setReader(InputStream in) throws org.openscience.cdk.exception.CDKException
setReader
in interface org.openscience.cdk.io.IChemObjectReader
org.openscience.cdk.exception.CDKException
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
getFormat
in interface org.openscience.cdk.io.IChemObjectIO
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.openscience.cdk.io.IChemObjectIO
IOException
protected void generateDocumentUUID(ProtocolApplication papp) throws Exception
Exception
protected void handleException(Exception x)
public void setReference(ILiteratureEntry reference)
setReference
in interface ICiteable
public ILiteratureEntry getReference()
getReference
in interface ICiteable
public IStructureRecord nextRecord()
nextRecord
in interface IRawReader<IStructureRecord>
public SubstanceRecord parseSubstance(Reader reader) throws Exception
Exception
public SubstanceRecord parseSubstance(com.fasterxml.jackson.databind.JsonNode node)
public List<CompositionRelation> parseComposition(com.fasterxml.jackson.databind.JsonNode node)
node
- public List<ProtocolApplication> parseProtocolApplication(Reader reader, SubstanceRecord record) throws Exception
Exception
public List<ProtocolApplication> parseProtocolApplications(com.fasterxml.jackson.databind.JsonNode papps, SubstanceRecord record) throws Exception
Exception
public ProtocolApplication parseProtocolApplication(com.fasterxml.jackson.databind.node.ObjectNode node)
protected void parseReliability(com.fasterxml.jackson.databind.node.ObjectNode node, ProtocolApplication record)
protected void parseStudyReference(com.fasterxml.jackson.databind.node.ObjectNode node, ProtocolApplication record)
protected void parseCompany(com.fasterxml.jackson.databind.node.ObjectNode node, ProtocolApplication record)
public void parseOwner(com.fasterxml.jackson.databind.node.ObjectNode node, ProtocolApplication record)
protected void parseSubstance(com.fasterxml.jackson.databind.node.ObjectNode node, ProtocolApplication record)
public void parseInterpretedResult(com.fasterxml.jackson.databind.node.ObjectNode node, ProtocolApplication record)
public void parseInterpretationCriteria(com.fasterxml.jackson.databind.node.ObjectNode node, ProtocolApplication record)
public void parseInterpretation(com.fasterxml.jackson.databind.node.ObjectNode node, ProtocolApplication record)
public static IParams parseParams(com.fasterxml.jackson.databind.node.ObjectNode node)
public Protocol parseProtocol(com.fasterxml.jackson.databind.node.ObjectNode node)
protected EffectRecord createEffectRecord(Protocol protocol)
public List<EffectRecord> parseEffects(com.fasterxml.jackson.databind.node.ArrayNode node, Protocol protocol)
public void parseResult(com.fasterxml.jackson.databind.node.ObjectNode node, EffectRecord record)
public void parseValueAnnotated(com.fasterxml.jackson.databind.node.ObjectNode node, ValueAnnotated record)
public List<ValueAnnotated> parseValuesAnnotated(com.fasterxml.jackson.databind.node.ArrayNode node, Protocol protocol)
public static IParams parseConditions(com.fasterxml.jackson.databind.ObjectMapper dx, Object json)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.