org.brains2b.coffee.file
Class CoffeeMenuHandler

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

public class CoffeeMenuHandler
extends FileContentHandler


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()
           
 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, ignorableWhitespace, processingInstruction, removeProgressMonitor, 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()
Specified by:
getMessage in class FileContentHandler

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)