public class ToXMLReaderSimple extends org.openscience.cdk.io.iterator.DefaultIteratingChemObjectReader implements IRawReader<IStructureRecord>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ToXMLReaderSimple.toxml_attributes |
protected static class |
ToXMLReaderSimple.toxml_names |
protected static class |
ToXMLReaderSimple.toxml_quantity_types |
protected static class |
ToXMLReaderSimple.toxml_tags |
protected static class |
ToXMLReaderSimple.toxml_tags_level1
toxml.xsd 3.0.8
|
| Modifier and Type | Field and Description |
|---|---|
protected Stack<String[]> |
attributes |
protected Stack<Hashtable<String,Integer>> |
branches |
protected int |
compounds |
protected Hashtable<Dictionary,Integer> |
dictionary |
protected Property |
inchiProperty |
protected static Logger |
logger |
protected Stack<Property> |
properties |
protected XMLStreamReader |
reader |
protected IStructureRecord |
record |
protected int |
recordCount |
protected int |
study |
protected Hashtable<String,Integer> |
tagCount |
protected Stack<String> |
tags |
protected int |
test |
protected String |
tmpValue |
protected String |
URI |
| Constructor and Description |
|---|
ToXMLReaderSimple(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected boolean |
endRecord(String tag,
Integer tag_num,
String parentTag,
String path,
String value) |
Hashtable<Dictionary,Integer> |
getDictionary() |
protected String |
getDotPath() |
org.openscience.cdk.io.formats.IResourceFormat |
getFormat() |
boolean |
hasNext() |
protected boolean |
newRecord(String tag,
Integer tag_num,
String parentTag,
String path) |
Object |
next() |
IStructureRecord |
nextRecord() |
protected void |
processItem(String key,
String value,
boolean leaf) |
protected String[] |
readAttributes() |
protected void |
setProperty(Property key,
Object value) |
void |
setReader(InputStream in) |
void |
setReader(Reader in) |
accepts, handleError, handleError, handleError, handleError, remove, setErrorHandler, setReaderModeaddChemObjectIOListener, addSetting, addSettings, fireIOSettingQuestion, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleError, handleError, handleError, handleError, setErrorHandler, setReaderModeaccepts, addChemObjectIOListener, addSetting, addSettings, getIOSettings, getListeners, getSetting, getSetting, getSettings, hasSetting, removeChemObjectIOListenerforEachRemaining, removeprotected static Logger logger
protected int compounds
protected final String URI
protected int study
protected int test
protected Property inchiProperty
protected Hashtable<Dictionary,Integer> dictionary
protected IStructureRecord record
protected XMLStreamReader reader
protected String tmpValue
protected int recordCount
public ToXMLReaderSimple(InputStream in) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKExceptionpublic Hashtable<Dictionary,Integer> getDictionary()
public void setReader(Reader in) throws org.openscience.cdk.exception.CDKException
setReader in interface org.openscience.cdk.io.IChemObjectReaderorg.openscience.cdk.exception.CDKExceptionpublic void setReader(InputStream in) throws org.openscience.cdk.exception.CDKException
setReader in interface org.openscience.cdk.io.IChemObjectReaderorg.openscience.cdk.exception.CDKExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.openscience.cdk.io.IChemObjectIOIOExceptionprotected boolean endRecord(String tag, Integer tag_num, String parentTag, String path, String value)
protected String getDotPath()
protected String[] readAttributes()
public IStructureRecord nextRecord()
nextRecord in interface IRawReader<IStructureRecord>public org.openscience.cdk.io.formats.IResourceFormat getFormat()
getFormat in interface org.openscience.cdk.io.IChemObjectIOCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.