Package org.rcsb.cif.model.text
Class TextBlock
java.lang.Object
org.rcsb.cif.model.text.TextBlock
- All Implemented Interfaces:
Block
public class TextBlock extends Object implements Block
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetBlockHeader()The header of thisBlock.Map<String,Category>getCategories()Access to the category map wrapped by this block.CategorygetCategory(String name)Retrieve a particularCategoryby name.List<Block>getSaveFrames()All save frames associated to thisBlock.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.rcsb.cif.model.Block
categories, getCategory, getColumn, saveFrames
-
Constructor Details
-
Method Details
-
getBlockHeader
Description copied from interface:BlockThe header of thisBlock.- Specified by:
getBlockHeaderin interfaceBlock- Returns:
Stringof the header
-
getCategory
Description copied from interface:BlockRetrieve a particularCategoryby name.- Specified by:
getCategoryin interfaceBlock- Parameters:
name- the category name- Returns:
- the corresponding
Category, if none exists a instance ofCategoryis returned as proxy
-
getCategories
Description copied from interface:BlockAccess to the category map wrapped by this block.- Specified by:
getCategoriesin interfaceBlock- Returns:
- a map with category names as keys and instances as values
-
getSaveFrames
Description copied from interface:BlockAll save frames associated to thisBlock.- Specified by:
getSaveFramesin interfaceBlock- Returns:
- collection of save frames
-