|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MatchListener
Highlight matches in query results. Indexes can implement
this interface to filter the output produced by the serializer
when serializing query results. See
IndexWorker.getMatchListener(org.exist.storage.DBBroker,
org.exist.dom.NodeProxy)
.
The interface basically extends Receiver
. The
additional methods are used to chain multiple MatchListeners. Implementations should
forward all events to the next receiver in the chain (if there is one).
Class AbstractMatchListener
provides default implementations
for all methods.
Field Summary |
---|
Fields inherited from interface org.exist.util.serializer.Receiver |
---|
MATCH_ELEMENT |
Method Summary | |
---|---|
Receiver |
getLastInChain()
Walks the chain and returns the final receiver. |
Receiver |
getNextInChain()
Returns the next receiver in the chain. |
void |
setNextInChain(Receiver next)
Register the next receiver in the chain. |
Methods inherited from interface org.exist.util.serializer.Receiver |
---|
attribute, cdataSection, characters, comment, documentType, endDocument, endElement, endPrefixMapping, getDocument, highlightText, processingInstruction, setCurrentNode, startDocument, startElement, startPrefixMapping |
Method Detail |
---|
void setNextInChain(Receiver next)
next
- the next receiver in the chain.Receiver getNextInChain()
Receiver getLastInChain()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |