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
Modifier and TypeClassDescriptionstatic class
Wrapped atoms represent individual atoms enriched with model- and chain-level information. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.rcsb.cif.model.CifFile
getInternal
(Structure structure, List<AbstractCifFileSupplier.WrappedAtom> wrappedAtoms) protected void
handleChain
(Chain chain, int model, List<AbstractCifFileSupplier.WrappedAtom> wrappedAtoms) static Collector
<AbstractCifFileSupplier.WrappedAtom, ?, org.rcsb.cif.model.Category> CollectsAbstractCifFileSupplier.WrappedAtom
instances into oneAtomSite
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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.WrappedAtom
instances into oneAtomSite
.- Returns:
- an atom site record containing all atoms
-