holoedit.fileio
Class HoloFctPstIO

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by holoedit.fileio.HoloFctPstIO
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class HoloFctPstIO
extends org.xml.sax.helpers.DefaultHandler


Field Summary
(package private)  Algorithm alg
           
(package private)  java.util.Vector<HoloFctPreset> presets
           
(package private)  java.io.File pstFile
           
 
Constructor Summary
HoloFctPstIO(Algorithm algo, java.io.File f)
           
 
Method Summary
 void endDocument()
           
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
           
 void loadPreset()
           
 void savePresets()
           
 void startDocument()
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attrs)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alg

Algorithm alg

pstFile

java.io.File pstFile

presets

java.util.Vector<HoloFctPreset> presets
Constructor Detail

HoloFctPstIO

public HoloFctPstIO(Algorithm algo,
                    java.io.File f)
Method Detail

loadPreset

public void loadPreset()

savePresets

public void savePresets()

startDocument

public void startDocument()
Specified by:
startDocument in interface org.xml.sax.ContentHandler
Overrides:
startDocument in class org.xml.sax.helpers.DefaultHandler

endDocument

public void endDocument()
Specified by:
endDocument in interface org.xml.sax.ContentHandler
Overrides:
endDocument in class org.xml.sax.helpers.DefaultHandler

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attrs)
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler

endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
Specified by:
endElement in interface org.xml.sax.ContentHandler
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler