org.exist.fulltext
Class FTMatchListener
java.lang.Object
org.exist.indexing.AbstractMatchListener
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.
Methods inherited from class org.exist.indexing.AbstractMatchListener |
attribute, cdataSection, comment, documentType, endDocument, endPrefixMapping, getDocument, getLastInChain, getNextInChain, highlightText, processingInstruction, setCurrentNode, setNextInChain, startDocument, startPrefixMapping |
FTMatchListener
public FTMatchListener(DBBroker broker,
NodeProxy proxy)
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.