org.rcsb.openmms.apps.xconv
Class ConvertBuilder
java.lang.Object
|
+--org.rcsb.openmms.apps.xconv.ConvertBuilder
- All Implemented Interfaces:
- Builder
- public class ConvertBuilder
- extends java.lang.Object
- implements Builder
Builder subclass for reading the mmCIF datafiles and
translating it to XML format.
- Version:
- 1.1
- Author:
- Douglas S. Greer
- See Also:
Builder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertBuilder
public ConvertBuilder(CifDictionary cifDic)
setWriter
public void setWriter(XmlWriter xwriter)
setDebug
public void setDebug(int d)
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 di,
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, Copyright 2001, All rights reserved