OpenMMS
V1.5.1 Std

org.rcsb.openmms.entry
Class RefBuilder

java.lang.Object
  |
  +--org.rcsb.openmms.entry.RefBuilder
All Implemented Interfaces:
Builder

public class RefBuilder
extends java.lang.Object
implements Builder

Reference Builder Class that parses an mmCIF data file and calls the appropriate CatLoader for each Category contained in the file to load corresponding the Entry data structure.

Version:
1.3
Author:
Douglas S. Greer

Constructor Summary
RefBuilder(MessageHandler mh)
           
 
Method Summary
 void beginCompound()
           
 void beginLoop()
           
 void beginRow()
           
 void endCompound()
           
 void endLoop()
           
 void endRow()
           
 void insertLoopValue(int column, DataItem d, java.lang.String val)
           
 void insertSingleValue(DataItem d, java.lang.String val)
           
 void setDebug(int d)
           
 void setEntry(EntryImpl ei)
           
 void setLoopItem(int column, DataItem di)
           
 void setSingleItem(DataItem di)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefBuilder

public RefBuilder(MessageHandler mh)
Method Detail

setDebug

public void setDebug(int d)

setEntry

public void setEntry(EntryImpl ei)

beginCompound

public void beginCompound()
                   throws CifParseException
Specified by:
beginCompound in interface Builder
CifParseException

endCompound

public void endCompound()
                 throws CifParseException
Specified by:
endCompound in interface Builder
CifParseException

setSingleItem

public void setSingleItem(DataItem di)
                   throws CifParseException
Specified by:
setSingleItem in interface Builder
CifParseException

insertSingleValue

public void insertSingleValue(DataItem d,
                              java.lang.String val)
                       throws CifParseException
Specified by:
insertSingleValue in interface Builder
CifParseException

beginLoop

public void beginLoop()
               throws CifParseException
Specified by:
beginLoop in interface Builder
CifParseException

endLoop

public void endLoop()
             throws CifParseException
Specified by:
endLoop in interface Builder
CifParseException

beginRow

public void beginRow()
              throws CifParseException
Specified by:
beginRow in interface Builder
CifParseException

endRow

public void endRow()
            throws CifParseException
Specified by:
endRow in interface Builder
CifParseException

setLoopItem

public void setLoopItem(int column,
                        DataItem di)
                 throws CifParseException
Specified by:
setLoopItem in interface Builder
CifParseException

insertLoopValue

public void insertLoopValue(int column,
                            DataItem d,
                            java.lang.String val)
                     throws CifParseException
Specified by:
insertLoopValue in interface Builder
CifParseException

OpenMMS
V1.5.1 Std

OpenMMS, Copyright 2001, All rights reserved