wt.fc
Interface ResultProcessor

All Known Subinterfaces:
ObjectVectorIfc
All Known Implementing Classes:
ResultProcessorAdapter, SourceLinkMapResultProcessor, StreamObjectVector, WTArrayList, WTHashSet, WTKeyedHashMap, WTValuedHashMap

public interface ResultProcessor

This interface specifies methods needed to process results directly from the low level persistence layer.

Supported API: true

Extendable: false


Method Summary
 void addElement(Object anObj)
          This method is called by the low level persistence layer to add the specified object to the result.
 

Method Detail

addElement

void addElement(Object anObj)
                throws WTException
This method is called by the low level persistence layer to add the specified object to the result. The actual type of the object is based on the type of query. It may be a Persistable or an Object[].

Supported API: true

Parameters:
anObj - Result object to add.
Throws:
WTException - - if the object can't be added to the result
WTException