Class MmXml

java.lang.Object
  |
  +--org.xml.sax.HandlerBase
        |
        +--MmXml
All Implemented Interfaces:
org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class MmXml
extends org.xml.sax.HandlerBase


Field Summary
(package private)  java.util.Stack pile
           
(package private)  MmMm root
           
(package private)  java.io.File worldFile
           
 
Constructor Summary
(package private) MmXml(java.io.File xmlFile)
           
 
Method Summary
 void endDocument()
           
 void endElement(java.lang.String name)
           
 void error(org.xml.sax.SAXParseException e)
           
 java.io.File getFile()
          Get the value of worldFile.
static void main(java.lang.String[] argv)
           
 void save()
           
 void setFile(java.io.File v)
          Set the value of worldFile.
 void startElement(java.lang.String name, org.xml.sax.AttributeList attrs)
           
 
Methods inherited from class org.xml.sax.HandlerBase
characters, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

pile

java.util.Stack pile

root

MmMm root

worldFile

java.io.File worldFile
Constructor Detail

MmXml

MmXml(java.io.File xmlFile)
Method Detail

main

public static void main(java.lang.String[] argv)

getFile

public java.io.File getFile()
Get the value of worldFile.
Returns:
Value of worldFile.

setFile

public void setFile(java.io.File v)
Set the value of worldFile.
Parameters:
v - Value to assign to worldFile.

save

public void save()

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
Overrides:
endDocument in class org.xml.sax.HandlerBase

startElement

public void startElement(java.lang.String name,
                         org.xml.sax.AttributeList attrs)
                  throws org.xml.sax.SAXException
Overrides:
startElement in class org.xml.sax.HandlerBase

endElement

public void endElement(java.lang.String name)
                throws org.xml.sax.SAXException
Overrides:
endElement in class org.xml.sax.HandlerBase

error

public void error(org.xml.sax.SAXParseException e)
           throws org.xml.sax.SAXParseException
Overrides:
error in class org.xml.sax.HandlerBase