Package org.rcsb.cif.schema.mm
Class MmCifFileBuilder
java.lang.Object
org.rcsb.cif.model.builder.CifFileBuilderImpl
org.rcsb.cif.schema.mm.MmCifFileBuilder
- All Implemented Interfaces:
CifFileBuilder
public class MmCifFileBuilder extends CifFileBuilderImpl
-
Constructor Summary
Constructors Constructor Description MmCifFileBuilder() -
Method Summary
Modifier and Type Method Description MmCifFilebuild()Build the file described by this builder.MmCifBlockBuilderenterBlock(String blockHeader)Descend 1 level and enter a new Block.MmCifFileleaveFile()Leave this builder instance.
-
Constructor Details
-
MmCifFileBuilder
public MmCifFileBuilder()
-
-
Method Details
-
enterBlock
Description copied from interface:CifFileBuilderDescend 1 level and enter a new Block.- Specified by:
enterBlockin interfaceCifFileBuilder- Overrides:
enterBlockin classCifFileBuilderImpl- Parameters:
blockHeader- the name for this block (usually the structure ID)- Returns:
- a parent-aware builder instance at block level
-
leaveFile
Description copied from interface:CifFileBuilderLeave this builder instance. As this is the top-level and no parent exists, return the finished CifFile instance.- Specified by:
leaveFilein interfaceCifFileBuilder- Overrides:
leaveFilein classCifFileBuilderImpl- Returns:
- a CifFile instance
-
build
Description copied from interface:CifFileBuilderBuild the file described by this builder.- Specified by:
buildin interfaceCifFileBuilder- Overrides:
buildin classCifFileBuilderImpl- Returns:
- a CifFile instance
-