Class ChemCompConsumerImpl
java.lang.Object
org.biojava.nbio.structure.io.cif.ChemCompConsumerImpl
- All Implemented Interfaces:
ChemCompConsumer,CifFileConsumer<ChemicalComponentDictionary>
Consumes a CCD file to create the
ChemicalComponentDictionary.- Author:
- Sebastian Bittrich
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsumeChemComp(org.rcsb.cif.schema.mm.ChemComp c) Consume a particular Cif category.voidconsumeChemCompAtom(org.rcsb.cif.schema.mm.ChemCompAtom atom) Consume a particular Cif category.voidconsumeChemCompBond(org.rcsb.cif.schema.mm.ChemCompBond bond) Consume a particular Cif category.voidfinish()Ultimate setup which can include steps which require several categories to be available and integrate them into the final container.Retrieve the created container representing a CIF file.voidprepare()Setup routine which initializes a new container.
-
Constructor Details
-
ChemCompConsumerImpl
public ChemCompConsumerImpl()
-
-
Method Details
-
consumeChemComp
Description copied from interface:ChemCompConsumerConsume a particular Cif category.- Specified by:
consumeChemCompin interfaceChemCompConsumer- Parameters:
c- data
-
consumeChemCompAtom
Description copied from interface:ChemCompConsumerConsume a particular Cif category.- Specified by:
consumeChemCompAtomin interfaceChemCompConsumer- Parameters:
atom- data
-
consumeChemCompBond
Description copied from interface:ChemCompConsumerConsume a particular Cif category.- Specified by:
consumeChemCompBondin interfaceChemCompConsumer- Parameters:
bond- data
-
prepare
Description copied from interface:CifFileConsumerSetup routine which initializes a new container.- Specified by:
preparein interfaceCifFileConsumer<ChemicalComponentDictionary>
-
finish
Description copied from interface:CifFileConsumerUltimate setup which can include steps which require several categories to be available and integrate them into the final container.- Specified by:
finishin interfaceCifFileConsumer<ChemicalComponentDictionary>
-
getContainer
Description copied from interface:CifFileConsumerRetrieve the created container representing a CIF file.- Specified by:
getContainerin interfaceCifFileConsumer<ChemicalComponentDictionary>- Returns:
- all desired information wrapped as object of type
S
-