public class I5ReaderSimple extends org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader implements IRawReader<IStructureRecord>, ICiteable
Modifier and Type | Class and Description |
---|---|
protected static class |
I5ReaderSimple.i5_refs_attr |
protected static class |
I5ReaderSimple.i5_tags |
Modifier and Type | Field and Description |
---|---|
protected boolean |
attachment |
protected CASProcessor |
casProcessor |
static Property |
casProperty |
static Property |
ecProperty |
static String |
I5_REFERENCE |
static String |
I5_URL |
protected static Logger |
logger |
static Property |
nameProperty |
protected I5ReaderSimple.i5_tags |
parentTag |
protected XMLStreamReader |
reader |
protected IStructureRecord |
record |
protected ILiteratureEntry |
reference |
protected Property |
registrationProperty |
protected ArrayList<String> |
synonyms |
protected String |
tmpValue |
Constructor and Description |
---|
I5ReaderSimple(InputStream in) |
I5ReaderSimple(InputStreamReader in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
ILiteratureEntry |
getReference() |
boolean |
hasNext() |
Object |
next() |
IStructureRecord |
nextRecord() |
void |
parseDocument() |
void |
setReader(InputStream in) |
void |
setReader(Reader in) |
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 IStructureRecord record
protected XMLStreamReader reader
protected String tmpValue
protected CASProcessor casProcessor
public static String I5_URL
public static String I5_REFERENCE
public static Property casProperty
public static Property ecProperty
public static Property nameProperty
protected Property registrationProperty
protected ILiteratureEntry reference
protected boolean attachment
protected I5ReaderSimple.i5_tags parentTag
public I5ReaderSimple(InputStreamReader in) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public I5ReaderSimple(InputStream in) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
public ILiteratureEntry getReference()
getReference
in interface ICiteable
public void setReference(ILiteratureEntry reference)
setReference
in interface ICiteable
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 void setReader(Reader in) throws org.openscience.cdk.exception.CDKException
setReader
in interface org.openscience.cdk.io.IChemObjectReader
org.openscience.cdk.exception.CDKException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.openscience.cdk.io.IChemObjectIO
IOException
public org.openscience.cdk.io.formats.IResourceFormat getFormat()
getFormat
in interface org.openscience.cdk.io.IChemObjectIO
public IStructureRecord nextRecord()
nextRecord
in interface IRawReader<IStructureRecord>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.