OpenMMS
V1.5.1 Std

org.rcsb.openmms.apps.xmc
Class Visitor

java.lang.Object
  |
  +--org.rcsb.openmms.apps.xmc.Visitor
Direct Known Subclasses:
DtdWriter, XmcWriter, ZeroVisitor

public class Visitor
extends java.lang.Object

Model vistor base class

Version:
1.3
Author:
Douglas S. Greer

Constructor Summary
Visitor()
           
 
Method Summary
 void beginValues(java.lang.String type, int sz)
           
 void close()
           
 void closeCategory(CategoryNode rt)
           
 void closeEntry(EntryNode rt)
           
 void closeItem(ItemNode rt)
           
 void closeO(ONode rt)
           
 java.lang.String convertToCDataStr(java.lang.String s)
           
 void open(java.lang.String fname)
           
 void openCategory(CategoryNode rt)
           
 void openEntry(EntryNode rt)
           
 void openItem(ItemNode rt)
           
 void openO(ONode rt)
           
 void writeBuffer(char[] ca)
           
 void writeComStr(java.lang.String s)
           
 void writeDescription(java.lang.String s)
           
 void writeIndent()
           
 void writeLineValue(java.lang.String s, int inum)
           
 void writeStdValue(java.lang.String s, int inum)
           
 void writeStr(java.io.BufferedWriter o, java.lang.String s, int ilev)
           
 void writeStr(java.lang.String s)
           
 void writeStr(java.lang.String[] sl)
           
 void writeTextValue(java.lang.String s, int inum)
           
 void writeValue(java.lang.String s, int inum)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Visitor

public Visitor()
Method Detail

openO

public void openO(ONode rt)
           throws java.io.IOException,
                  XmlGenException
java.io.IOException
XmlGenException

closeO

public void closeO(ONode rt)
            throws java.io.IOException,
                   XmlGenException
java.io.IOException
XmlGenException

openEntry

public void openEntry(EntryNode rt)
               throws java.io.IOException,
                      XmlGenException
java.io.IOException
XmlGenException

closeEntry

public void closeEntry(EntryNode rt)
                throws java.io.IOException,
                       XmlGenException
java.io.IOException
XmlGenException

openCategory

public void openCategory(CategoryNode rt)
                  throws java.io.IOException,
                         XmlGenException
java.io.IOException
XmlGenException

closeCategory

public void closeCategory(CategoryNode rt)
                   throws java.io.IOException,
                          XmlGenException
java.io.IOException
XmlGenException

openItem

public void openItem(ItemNode rt)
              throws java.io.IOException,
                     XmlGenException
java.io.IOException
XmlGenException

closeItem

public void closeItem(ItemNode rt)
               throws java.io.IOException,
                      XmlGenException
java.io.IOException
XmlGenException

open

public void open(java.lang.String fname)
          throws java.io.IOException
java.io.IOException

close

public void close()
           throws java.io.IOException
java.io.IOException

writeDescription

public void writeDescription(java.lang.String s)
                      throws java.io.IOException
java.io.IOException

writeStr

public void writeStr(java.lang.String[] sl)
              throws java.io.IOException
java.io.IOException

writeComStr

public void writeComStr(java.lang.String s)
                 throws java.io.IOException
java.io.IOException

writeStr

public void writeStr(java.lang.String s)
              throws java.io.IOException
java.io.IOException

writeBuffer

public void writeBuffer(char[] ca)
                 throws java.io.IOException
java.io.IOException

writeStr

public void writeStr(java.io.BufferedWriter o,
                     java.lang.String s,
                     int ilev)
              throws java.io.IOException
java.io.IOException

beginValues

public void beginValues(java.lang.String type,
                        int sz)

writeValue

public void writeValue(java.lang.String s,
                       int inum)
                throws java.io.IOException
java.io.IOException

writeTextValue

public void writeTextValue(java.lang.String s,
                           int inum)
                    throws java.io.IOException
java.io.IOException

writeLineValue

public void writeLineValue(java.lang.String s,
                           int inum)
                    throws java.io.IOException
java.io.IOException

writeStdValue

public void writeStdValue(java.lang.String s,
                          int inum)
                   throws java.io.IOException
java.io.IOException

convertToCDataStr

public java.lang.String convertToCDataStr(java.lang.String s)

writeIndent

public void writeIndent()
                 throws java.io.IOException
java.io.IOException

OpenMMS
V1.5.1 Std

OpenMMS, Copyright 2001, All rights reserved