jAudioFeatureExtractor.ACE.XMLParsers
Class ParseSaveSettings

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by jAudioFeatureExtractor.ACE.XMLParsers.ParseFileHandler
          extended by jAudioFeatureExtractor.ACE.XMLParsers.ParseSaveSettings
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class ParseSaveSettings
extends ParseFileHandler

Class for parsing XML documents that store GUI settings.

Author:
Daniel McEnnis

Field Summary
 
Fields inherited from class jAudioFeatureExtractor.ACE.XMLParsers.ParseFileHandler
comments, parsed_file_contents
 
Constructor Summary
ParseSaveSettings()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
          Used to process character data in the XML file.
 void endDocument()
          Logical end of an XML file
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
           
 void startDocument()
          Logical start of the XML document.
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
          Signals start of an XML tag
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
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
 

Constructor Detail

ParseSaveSettings

public ParseSaveSettings()
Method Detail

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Logical start of the XML document.

Specified by:
startDocument in interface org.xml.sax.ContentHandler
Overrides:
startDocument in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Used to process character data in the XML file.

Specified by:
characters in interface org.xml.sax.ContentHandler
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
Logical end of an XML file

Specified by:
endDocument in interface org.xml.sax.ContentHandler
Overrides:
endDocument in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

endElement

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

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Signals start of an XML tag

Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException