org.brains2b.coffee.plugin.search
Class QueryHandler

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

public class QueryHandler
extends FileContentHandler

ContentHandler for reading queries from file

Version:
0.90 [Feb 25, 2008]
Author:
dennis@brains2b.nl

Constructor Summary
QueryHandler()
          Constructor
 
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)
           
 NNTPMessage getMessage()
          get the NNTPMessage as it was parsed from the specific ContentHandler
 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

QueryHandler

public QueryHandler()
Constructor

Method Detail

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