Class ChemCompConsumer
- java.lang.Object
-
- org.biojava.bio.structure.io.mmcif.ChemCompConsumer
-
- All Implemented Interfaces:
MMcifConsumer
public class ChemCompConsumer extends java.lang.Object implements MMcifConsumer
-
-
Constructor Summary
Constructors Constructor Description ChemCompConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
documentEnd()
called at end of documentvoid
documentStart()
called at start of documentChemicalComponentDictionary
getDictionary()
void
newAtomSite(AtomSite atom)
A new AtomSite record has been read.void
newChemComp(ChemComp c)
void
newDatabasePDBremark(DatabasePDBremark remark)
void
newDatabasePDBrev(DatabasePDBrev dbrev)
void
newEntity(Entity entity)
void
newEntityPolySeq(EntityPolySeq epolseq)
void
newExptl(Exptl exptl)
void
newGenericData(java.lang.String category, java.util.List<java.lang.String> loopFields, java.util.List<java.lang.String> lineData)
This method is called if no particular handler for the provided cif category has been implemented so far.void
newPdbxEntityNonPoly(PdbxEntityNonPoly pen)
void
newPdbxNonPolyScheme(PdbxNonPolyScheme ppss)
void
newPdbxPolySeqScheme(PdbxPolySeqScheme ppss)
void
newRefine(Refine r)
void
newStructAsym(StructAsym sasym)
void
newStructKeywords(StructKeywords kw)
void
newStructRef(StructRef sref)
void
newStructRefSeq(StructRefSeq sref)
void
setStruct(Struct struct)
-
-
-
Method Detail
-
documentStart
public void documentStart()
Description copied from interface:MMcifConsumer
called at start of document- Specified by:
documentStart
in interfaceMMcifConsumer
-
getDictionary
public ChemicalComponentDictionary getDictionary()
-
newChemComp
public void newChemComp(ChemComp c)
- Specified by:
newChemComp
in interfaceMMcifConsumer
-
documentEnd
public void documentEnd()
Description copied from interface:MMcifConsumer
called at end of document- Specified by:
documentEnd
in interfaceMMcifConsumer
-
newAtomSite
public void newAtomSite(AtomSite atom)
Description copied from interface:MMcifConsumer
A new AtomSite record has been read. Contains the Atom data- Specified by:
newAtomSite
in interfaceMMcifConsumer
-
newDatabasePDBremark
public void newDatabasePDBremark(DatabasePDBremark remark)
- Specified by:
newDatabasePDBremark
in interfaceMMcifConsumer
-
newDatabasePDBrev
public void newDatabasePDBrev(DatabasePDBrev dbrev)
- Specified by:
newDatabasePDBrev
in interfaceMMcifConsumer
-
newEntity
public void newEntity(Entity entity)
- Specified by:
newEntity
in interfaceMMcifConsumer
-
newEntityPolySeq
public void newEntityPolySeq(EntityPolySeq epolseq)
- Specified by:
newEntityPolySeq
in interfaceMMcifConsumer
-
newExptl
public void newExptl(Exptl exptl)
- Specified by:
newExptl
in interfaceMMcifConsumer
-
newPdbxEntityNonPoly
public void newPdbxEntityNonPoly(PdbxEntityNonPoly pen)
- Specified by:
newPdbxEntityNonPoly
in interfaceMMcifConsumer
-
newPdbxNonPolyScheme
public void newPdbxNonPolyScheme(PdbxNonPolyScheme ppss)
- Specified by:
newPdbxNonPolyScheme
in interfaceMMcifConsumer
-
newPdbxPolySeqScheme
public void newPdbxPolySeqScheme(PdbxPolySeqScheme ppss)
- Specified by:
newPdbxPolySeqScheme
in interfaceMMcifConsumer
-
newRefine
public void newRefine(Refine r)
- Specified by:
newRefine
in interfaceMMcifConsumer
-
newStructAsym
public void newStructAsym(StructAsym sasym)
- Specified by:
newStructAsym
in interfaceMMcifConsumer
-
newStructKeywords
public void newStructKeywords(StructKeywords kw)
- Specified by:
newStructKeywords
in interfaceMMcifConsumer
-
newStructRef
public void newStructRef(StructRef sref)
- Specified by:
newStructRef
in interfaceMMcifConsumer
-
newStructRefSeq
public void newStructRefSeq(StructRefSeq sref)
- Specified by:
newStructRefSeq
in interfaceMMcifConsumer
-
setStruct
public void setStruct(Struct struct)
- Specified by:
setStruct
in interfaceMMcifConsumer
-
newGenericData
public void newGenericData(java.lang.String category, java.util.List<java.lang.String> loopFields, java.util.List<java.lang.String> lineData)
Description copied from interface:MMcifConsumer
This method is called if no particular handler for the provided cif category has been implemented so far.- Specified by:
newGenericData
in interfaceMMcifConsumer
- Parameters:
category
- The category that is being processed.loopFields
- the fields of this category.lineData
- the data that is being provided.
-
-