OpenMMS
V1.5.1 Std

org.rcsb.openmms.apps.xmc
Class XmcWriter

java.lang.Object
  |
  +--org.rcsb.openmms.apps.xmc.Visitor
        |
        +--org.rcsb.openmms.apps.xmc.XmcWriter

public class XmcWriter
extends Visitor

Visitor subclass from writing XML files

Version:
1.3
Author:
Douglas S. Greer

Constructor Summary
XmcWriter(java.lang.String xp)
           
 
Method Summary
 void closeCategory(CategoryNode cn)
           
 void closeEntry(EntryNode rt)
           
 void closeItem(ItemNode in)
           
 void closeO(ONode rt)
           
protected  void closeXmc()
           
 void openCategory(CategoryNode cn)
           
 void openEntry(EntryNode rt)
           
 void openItem(ItemNode in)
           
 void openO(ONode rt)
           
protected  void openXmc()
           
 void setEntryName(java.lang.String base)
           
 
Methods inherited from class org.rcsb.openmms.apps.xmc.Visitor
beginValues, close, convertToCDataStr, open, writeBuffer, writeComStr, writeDescription, writeIndent, writeLineValue, writeStdValue, writeStr, writeStr, writeStr, writeTextValue, writeValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmcWriter

public XmcWriter(java.lang.String xp)
Method Detail

setEntryName

public void setEntryName(java.lang.String base)

openO

public void openO(ONode rt)
           throws java.io.IOException,
                  XmlGenException
Overrides:
openO in class Visitor
java.io.IOException
XmlGenException

closeO

public void closeO(ONode rt)
            throws java.io.IOException,
                   XmlGenException
Overrides:
closeO in class Visitor
java.io.IOException
XmlGenException

openXmc

protected void openXmc()
                throws java.io.IOException,
                       XmlGenException
java.io.IOException
XmlGenException

closeXmc

protected void closeXmc()
                 throws java.io.IOException
java.io.IOException

openEntry

public void openEntry(EntryNode rt)
               throws java.io.IOException,
                      XmlGenException
Overrides:
openEntry in class Visitor
java.io.IOException
XmlGenException

closeEntry

public void closeEntry(EntryNode rt)
                throws java.io.IOException,
                       XmlGenException
Overrides:
closeEntry in class Visitor
java.io.IOException
XmlGenException

openCategory

public void openCategory(CategoryNode cn)
                  throws java.io.IOException,
                         XmlGenException
Overrides:
openCategory in class Visitor
java.io.IOException
XmlGenException

closeCategory

public void closeCategory(CategoryNode cn)
                   throws java.io.IOException,
                          XmlGenException
Overrides:
closeCategory in class Visitor
java.io.IOException
XmlGenException

openItem

public void openItem(ItemNode in)
              throws java.io.IOException,
                     XmlGenException
Overrides:
openItem in class Visitor
java.io.IOException
XmlGenException

closeItem

public void closeItem(ItemNode in)
               throws java.io.IOException,
                      XmlGenException
Overrides:
closeItem in class Visitor
java.io.IOException
XmlGenException

OpenMMS
V1.5.1 Std

OpenMMS, Copyright 2001, All rights reserved