org.rcsb.openmms.apps.xmc
Class XBuilder
java.lang.Object
|
+--org.rcsb.openmms.apps.xmc.XBuilder
- All Implemented Interfaces:
- Builder
- public class XBuilder
- extends java.lang.Object
- implements Builder
Builder subclass for reading the mmCIF datafiles and
translating it to XML format.
- Version:
- 1.3
- 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 |
XBuilder
public XBuilder(ONode r)
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 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
setValue
protected void setValue(DataItem d,
java.lang.String val)
throws CifParseException
CifParseException
OpenMMS, Copyright 2001, All rights reserved