001package org.biojava.nbio.structure.io.cif; 002 003import org.biojava.nbio.structure.chem.ChemicalComponentDictionary; 004import org.rcsb.cif.schema.mm.ChemComp; 005import org.rcsb.cif.schema.mm.ChemCompAtom; 006import org.rcsb.cif.schema.mm.ChemCompBond; 007 008/** 009 * Create the {@link ChemicalComponentDictionary} from CIF data. 010 * @author Sebastian Bittrich 011 * @since 6.0.0 012 */ 013public interface ChemCompConsumer extends CifFileConsumer<ChemicalComponentDictionary> { 014 /** 015 * Consume a particular Cif category. 016 * @param c data 017 */ 018 void consumeChemComp(ChemComp c); 019 020 /** 021 * Consume a particular Cif category. 022 * @param atom data 023 */ 024 void consumeChemCompAtom(ChemCompAtom atom); 025 026 /** 027 * Consume a particular Cif category. 028 * @param bond data 029 */ 030 void consumeChemCompBond(ChemCompBond bond); 031} 032