public class ChemCompConsumer extends java.lang.Object implements MMcifConsumer
Constructor and Description |
---|
ChemCompConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
documentEnd()
called at end of document
|
void |
documentStart()
called at start of document
|
ChemicalComponentDictionary |
getDictionary() |
FileParsingParameters |
getFileParsingParameters() |
void |
newAtomSite(AtomSite atom)
A new AtomSite record has been read.
|
void |
newAuditAuthor(AuditAuthor aa)
AuditAuthor contains the info from the PDB-AUTHOR records.
|
void |
newChemComp(ChemComp c) |
void |
newChemCompDescriptor(ChemCompDescriptor ccd) |
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 |
setFileParsingParameters(FileParsingParameters params) |
void |
setStruct(Struct struct) |
public void documentStart()
MMcifConsumer
documentStart
in interface MMcifConsumer
public ChemicalComponentDictionary getDictionary()
public void newChemComp(ChemComp c)
newChemComp
in interface MMcifConsumer
public void documentEnd()
MMcifConsumer
documentEnd
in interface MMcifConsumer
public void newAtomSite(AtomSite atom)
MMcifConsumer
newAtomSite
in interface MMcifConsumer
public void newDatabasePDBremark(DatabasePDBremark remark)
newDatabasePDBremark
in interface MMcifConsumer
public void newDatabasePDBrev(DatabasePDBrev dbrev)
newDatabasePDBrev
in interface MMcifConsumer
public void newEntity(Entity entity)
newEntity
in interface MMcifConsumer
public void newEntityPolySeq(EntityPolySeq epolseq)
newEntityPolySeq
in interface MMcifConsumer
public void newExptl(Exptl exptl)
newExptl
in interface MMcifConsumer
public void newPdbxEntityNonPoly(PdbxEntityNonPoly pen)
newPdbxEntityNonPoly
in interface MMcifConsumer
public void newPdbxNonPolyScheme(PdbxNonPolyScheme ppss)
newPdbxNonPolyScheme
in interface MMcifConsumer
public void newPdbxPolySeqScheme(PdbxPolySeqScheme ppss)
newPdbxPolySeqScheme
in interface MMcifConsumer
public void newRefine(Refine r)
newRefine
in interface MMcifConsumer
public void newStructAsym(StructAsym sasym)
newStructAsym
in interface MMcifConsumer
public void newStructKeywords(StructKeywords kw)
newStructKeywords
in interface MMcifConsumer
public void newStructRef(StructRef sref)
newStructRef
in interface MMcifConsumer
public void newStructRefSeq(StructRefSeq sref)
newStructRefSeq
in interface MMcifConsumer
public void setStruct(Struct struct)
setStruct
in interface MMcifConsumer
public void newGenericData(java.lang.String category, java.util.List<java.lang.String> loopFields, java.util.List<java.lang.String> lineData)
MMcifConsumer
newGenericData
in interface MMcifConsumer
category
- The category that is being processed.loopFields
- the fields of this category.lineData
- the data that is being provided.public void newAuditAuthor(AuditAuthor aa)
MMcifConsumer
newAuditAuthor
in interface MMcifConsumer
public FileParsingParameters getFileParsingParameters()
getFileParsingParameters
in interface MMcifConsumer
public void setFileParsingParameters(FileParsingParameters params)
setFileParsingParameters
in interface MMcifConsumer
public void newChemCompDescriptor(ChemCompDescriptor ccd)
newChemCompDescriptor
in interface MMcifConsumer