|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bigllc.retsiq.simpleclient.AbstractSearchResponseHandler
com.bigllc.retsiq.simpleclient.RawOutputResponseHandler
public class RawOutputResponseHandler
Search handler that outputs search records in the RETS search XML format.
| Field Summary |
|---|
| Fields inherited from class com.bigllc.retsiq.simpleclient.AbstractSearchResponseHandler |
|---|
columnNameIndex, columns, currentRow, hasMoreRecords, path, query, recordCount, recordsInResponse, responseDelimiter, responseDelimiterHex, select, session |
| Constructor Summary | |
|---|---|
RawOutputResponseHandler(java.io.OutputStream out)
The formated results will be written to the supplied output stream. |
|
| Method Summary | |
|---|---|
void |
columnsChild(java.util.List<java.lang.String> columns)
Override this method if derived handler wants to receive notification of columns(). |
void |
countChild(int count)
Override this method if derived handler wants to receive notification of count(). |
void |
dataChild(SearchRecord record)
Override this method if derived handler wants to receive notification of data(). |
void |
delimiterChild(java.lang.String hex)
Override this method if derived handler wants to receive notification of noRecordsFound(). |
void |
done()
Flushes output stream. |
void |
hasMoreDataChild()
Override this method if derived handler wants to receive notification of hasMoreData(). |
void |
responseCode(int code,
java.lang.String text,
java.lang.String description)
Callback for search RETS response code. |
| Methods inherited from class com.bigllc.retsiq.simpleclient.AbstractSearchResponseHandler |
|---|
columns, count, data, delimiter, getColumns, getHasMoreRecords, getPath, getQuery, getRecordCount, getRecordsInResponse, getResponseDelimiter, getResponseDelimiterHex, getSelect, getSession, hasMoreData, noRecordsFound, noRecordsFoundChild, setContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RawOutputResponseHandler(java.io.OutputStream out)
out - The output stream that the formatted output is written to.| Method Detail |
|---|
public void responseCode(int code,
java.lang.String text,
java.lang.String description)
SearchResponseHandler
responseCode in interface SearchResponseHandlerresponseCode in class AbstractSearchResponseHandlercode - The RETS response code.text - The text associated with the response code.description - An associated long description of the response code.SearchResponseHandler.responseCode(int, String, String)public void countChild(int count)
AbstractSearchResponseHandler
countChild in class AbstractSearchResponseHandlerAbstractSearchResponseHandler.countChild(int)public void delimiterChild(java.lang.String hex)
AbstractSearchResponseHandler
delimiterChild in class AbstractSearchResponseHandlerAbstractSearchResponseHandler.delimiterChild(String)public void columnsChild(java.util.List<java.lang.String> columns)
AbstractSearchResponseHandler
columnsChild in class AbstractSearchResponseHandlerAbstractSearchResponseHandler.columnsChild(List)public void dataChild(SearchRecord record)
AbstractSearchResponseHandler
dataChild in class AbstractSearchResponseHandlerAbstractSearchResponseHandler.dataChild(SearchRecord)public void hasMoreDataChild()
AbstractSearchResponseHandler
hasMoreDataChild in class AbstractSearchResponseHandlerAbstractSearchResponseHandler.hasMoreDataChild()public void done()
done in interface SearchResponseHandlerdone in class AbstractSearchResponseHandlerSearchResponseHandler.done()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||