Class AbstractCifFileSupplier<S>
java.lang.Object
org.biojava.nbio.structure.io.cif.AbstractCifFileSupplier<S>
- All Implemented Interfaces:
CifFileSupplier<S>
- Direct Known Subclasses:
CifChainSupplierImpl,CifStructureSupplierImpl
Convert a BioJava object to a CifFile.
- Since:
- 5.3.0
- Author:
- Sebastian Bittrich
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWrapped atoms represent individual atoms enriched with model- and chain-level information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.rcsb.cif.model.CifFilegetInternal(Structure structure, List<AbstractCifFileSupplier.WrappedAtom> wrappedAtoms) protected voidhandleChain(Chain chain, int model, List<AbstractCifFileSupplier.WrappedAtom> wrappedAtoms) static Collector<AbstractCifFileSupplier.WrappedAtom, ?, org.rcsb.cif.model.Category> CollectsAbstractCifFileSupplier.WrappedAtominstances into oneAtomSite.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.biojava.nbio.structure.io.cif.CifFileSupplier
get
-
Constructor Details
-
AbstractCifFileSupplier
public AbstractCifFileSupplier()
-
-
Method Details
-
getInternal
protected org.rcsb.cif.model.CifFile getInternal(Structure structure, List<AbstractCifFileSupplier.WrappedAtom> wrappedAtoms) -
handleChain
protected void handleChain(Chain chain, int model, List<AbstractCifFileSupplier.WrappedAtom> wrappedAtoms) -
toAtomSite
public static Collector<AbstractCifFileSupplier.WrappedAtom,?, toAtomSite()org.rcsb.cif.model.Category> CollectsAbstractCifFileSupplier.WrappedAtominstances into oneAtomSite.- Returns:
- an atom site record containing all atoms
-