org.exist.fulltext
Class FTMatchListener

java.lang.Object
  extended by org.exist.indexing.AbstractMatchListener
      extended by org.exist.fulltext.FTMatchListener
All Implemented Interfaces:
MatchListener, Receiver

public class FTMatchListener
extends AbstractMatchListener

Implementation of MatchListener for the fulltext index. Right now, the serializer will directly plug this into the listener pipeline. This will change once we move the fulltext index into its own module.


Field Summary
 
Fields inherited from interface org.exist.util.serializer.Receiver
MATCH_ELEMENT
 
Constructor Summary
FTMatchListener(DBBroker broker, NodeProxy proxy)
           
 
Method Summary
 void characters(CharSequence seq)
           
 void endElement(QName qname)
           
 boolean hasMatches(NodeProxy proxy)
           
 void startElement(QName qname, AttrList attribs)
           
 
Methods inherited from class org.exist.indexing.AbstractMatchListener
attribute, cdataSection, comment, documentType, endDocument, endPrefixMapping, getDocument, getLastInChain, getNextInChain, highlightText, processingInstruction, setCurrentNode, setNextInChain, startDocument, startPrefixMapping
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTMatchListener

public FTMatchListener(DBBroker broker,
                       NodeProxy proxy)
Method Detail

hasMatches

public boolean hasMatches(NodeProxy proxy)

startElement

public void startElement(QName qname,
                         AttrList attribs)
                  throws SAXException
Specified by:
startElement in interface Receiver
Overrides:
startElement in class AbstractMatchListener
Throws:
SAXException

endElement

public void endElement(QName qname)
                throws SAXException
Specified by:
endElement in interface Receiver
Overrides:
endElement in class AbstractMatchListener
Throws:
SAXException

characters

public void characters(CharSequence seq)
                throws SAXException
Specified by:
characters in interface Receiver
Overrides:
characters in class AbstractMatchListener
Throws:
SAXException


Copyright (C) Wolfgang Meier. All rights reserved.