org.brains2b.coffee.file
Class CoffeeMenuHandler

java.lang.Object
  extended by org.brains2b.coffee.file.FileContentHandler
      extended by org.brains2b.coffee.file.CoffeeMenuHandler
All Implemented Interfaces:
ProgressMonitor, org.xml.sax.ContentHandler

public class CoffeeMenuHandler
extends FileContentHandler

ContentHandler for reading configuration information from file

Version:
0.10.1 [25-09-2008]
Author:
dennis@brains2b.nl

Constructor Summary
CoffeeMenuHandler()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endDocument()
           
 void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName)
           
 CoffeeMenu getList()
           
 NNTPMessage getMessage()
          get the NNTPMessage as it was parsed from the specific ContentHandler
 void setList(CoffeeMenu list)
           
 void setMessageName(java.lang.String name)
           
 void startDocument()
           
 void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts)
           
 
Methods inherited from class org.brains2b.coffee.file.FileContentHandler
addProgressMonitor, advance, endPrefixMapping, getDefaultDir, ignorableWhitespace, processingInstruction, removeProgressMonitor, setDefaultDir, setDocumentLocator, skippedEntity, startPrefixMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoffeeMenuHandler

public CoffeeMenuHandler()
Method Detail

setMessageName

public void setMessageName(java.lang.String name)

getMessage

public NNTPMessage getMessage()
Description copied from class: FileContentHandler
get the NNTPMessage as it was parsed from the specific ContentHandler

Specified by:
getMessage in class FileContentHandler
Returns:
NNTPMessage

endDocument

public void endDocument()
                 throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

startDocument

public void startDocument()
                   throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String namespaceURI,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

startElement

public void startElement(java.lang.String namespaceURI,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes atts)
                  throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

getList

public CoffeeMenu getList()

setList

public void setList(CoffeeMenu list)