Class AtomTypeReader
- java.lang.Object
-
- org.openscience.cdk.config.atomtypes.AtomTypeReader
-
public class AtomTypeReader extends Object
XML Reader for the CDKBasedAtomTypeConfigurator.- See Also:
CDKBasedAtomTypeConfigurator
- Source code:
- main
- Belongs to CDK module:
- core
-
-
Constructor Summary
Constructors Constructor Description AtomTypeReader(Reader input)
Instantiates the XML based AtomTypeReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IAtomType>
readAtomTypes(IChemObjectBuilder builder)
Reads the atom types from the data file.
-
-
-
Constructor Detail
-
AtomTypeReader
public AtomTypeReader(Reader input)
Instantiates the XML based AtomTypeReader.- Parameters:
input
- The Reader to read the IAtomType's from.
-
-
Method Detail
-
readAtomTypes
public List<IAtomType> readAtomTypes(IChemObjectBuilder builder)
Reads the atom types from the data file.- Parameters:
builder
- The IChemObjectBuilder used to create new IAtomType's.- Returns:
- a List with atom types. Is empty if some reading error occurred.
-
-