parameter
Class ParameterXMLHandler

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byparameter.ParameterXMLHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

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

SAX Handler for reading ParameterSets from XML files

Author:
ottlik

Field Summary
(package private)  java.lang.StringBuffer accumulator
           
(package private)  ParameterSet currentSet
           
(package private)  ParameterSet root
           
 
Constructor Summary
ParameterXMLHandler()
           
 
Method Summary
 void characters(char[] buffer, int start, int length)
           
 void endDocument()
           
 void endElement(java.lang.String namespaceURL, java.lang.String localName, java.lang.String qname)
           
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
 ParameterSet getParameterSet()
           
 void startDocument()
           
 void startElement(java.lang.String namespaceURL, java.lang.String localName, java.lang.String qname, org.xml.sax.Attributes attributes)
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accumulator

java.lang.StringBuffer accumulator

root

ParameterSet root

currentSet

ParameterSet currentSet
Constructor Detail

ParameterXMLHandler

public ParameterXMLHandler()
Method Detail

startDocument

public void startDocument()

endDocument

public void endDocument()

startElement

public void startElement(java.lang.String namespaceURL,
                         java.lang.String localName,
                         java.lang.String qname,
                         org.xml.sax.Attributes attributes)

endElement

public void endElement(java.lang.String namespaceURL,
                       java.lang.String localName,
                       java.lang.String qname)

characters

public void characters(char[] buffer,
                       int start,
                       int length)

warning

public void warning(org.xml.sax.SAXParseException exception)

error

public void error(org.xml.sax.SAXParseException exception)

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
                throws org.xml.sax.SAXParseException
Throws:
org.xml.sax.SAXParseException

getParameterSet

public ParameterSet getParameterSet()