OpenMMS
V1.5.1 Std

org.rcsb.openmms.apps.xmc
Class DtdWriter

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

public class DtdWriter
extends Visitor

Visitor subclass for writing XML DTD

Version:
1.3
Author:
Douglas S. Greer

Constructor Summary
DtdWriter(java.lang.String xp, java.lang.String dtdn)
           
 
Method Summary
 void closeCategory(CategoryNode rt)
           
protected  void closeDtd()
           
 void closeEntry(EntryNode rt)
           
 void closeItem(ItemNode rt)
           
 void closeO(ONode rt)
           
 void openCategory(CategoryNode rt)
           
protected  void openDtd()
           
 void openEntry(EntryNode rt)
           
 void openItem(ItemNode in)
           
 void openO(ONode rt)
           
 
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

DtdWriter

public DtdWriter(java.lang.String xp,
                 java.lang.String dtdn)
Method Detail

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

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

openDtd

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

closeDtd

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

openCategory

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

closeCategory

public void closeCategory(CategoryNode rt)
                   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 rt)
               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