Interface MMcifConsumer

  • All Known Implementing Classes:
    ChemCompConsumer, SimpleMMcifConsumer

    public interface MMcifConsumer
    An interface for the events triggered by a MMcifParser. The Consumer listens to the events and builds up the protein structure.
    Since:
    1.7
    Author:
    Andreas Prlic
    • Method Detail

      • documentStart

        void documentStart()
        called at start of document
      • documentEnd

        void documentEnd()
        called at end of document
      • newAtomSite

        void newAtomSite​(AtomSite atom)
        A new AtomSite record has been read. Contains the Atom data
        Parameters:
        atom -
      • newEntity

        void newEntity​(Entity entity)
      • newEntityPolySeq

        void newEntityPolySeq​(EntityPolySeq epolseq)
      • newStructAsym

        void newStructAsym​(StructAsym sasym)
      • setStruct

        void setStruct​(Struct struct)
      • newExptl

        void newExptl​(Exptl exptl)
      • newStructRef

        void newStructRef​(StructRef sref)
      • newStructRefSeq

        void newStructRefSeq​(StructRefSeq sref)
      • newRefine

        void newRefine​(Refine r)
      • newChemComp

        void newChemComp​(ChemComp c)
      • newGenericData

        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.
        Parameters:
        category - The category that is being processed.
        loopFields - the fields of this category.
        lineData - the data that is being provided.