Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.search
Class SearchEventsFileParser

java.lang.Object
  extended by com.ibm.etools.iseries.rse.util.evfparser.QSYSEventsFileParser
      extended by com.ibm.etools.iseries.rse.util.evfparser.QSYSEventsFileParserLite
          extended by com.ibm.etools.iseries.rse.ui.search.SearchEventsFileParser
Direct Known Subclasses:
SearchFilterEventsFileParser

public class SearchEventsFileParser
extends QSYSEventsFileParserLite

A concrete class for parsing an events file containing search results.


Field Summary
protected  IBMiConnection connection
           
static String Copyright
           
protected  SearchResultRootElement currentRoot
           
protected  SearchResultInputElement set
           
 
Constructor Summary
SearchEventsFileParser(IFile file, SearchResultInputElement set)
          Creates an events file parser object.
 
Method Summary
 SearchResultInputElement getSearchResultSet()
          Get the search result set.
 void handleErrorInformationRecord(QSYSEventsFileErrorInformationRecord errorInformationRecord)
          Handle a Error Information record object.
 void handleFeedbackCodeRecord(QSYSEventsFileFeedbackCodeRecord feedbackCodeRecord)
          Handle a Feedback Code record object.
 void handleFileEndRecord(QSYSEventsFileFileEndRecord fileEndRecord)
          Handle a File End record object.
 void handleFileIDRecord(QSYSEventsFileFileIDRecord fileIDRecord)
          Hnadle a File ID record object.
 void handleMapDefineRecord(QSYSEventsFileMapDefineRecord mapDefineRecord)
          Handle a Map Define record object.
 void handleMapEndRecord(QSYSEventsFileMapEndRecord mapEndRecord)
          Handle a Map End record object.
 void handleMapStartRecord(QSYSEventsFileMapStartRecord mapStartRecord)
          Handle a Map Start record object.
 void handleProcessorRecord(QSYSEventsFileProcessorRecord processorRecord)
          Handle a Processor record object.
 void handleProgramRecord(QSYSEventsFileProgramRecord programRecord)
          Handle a Program record object.
 void handleTimestampRecord(QSYSEventsFileTimestampRecord timestampRecord)
          Handle a Timestamp record object.
protected  void setEvfFile(IFile file)
          Set the events file.
 void setISeriesConnection(IBMiConnection connection)
          Set the iSeriesConnection.
protected  void setSearchResultSet(SearchResultInputElement set)
          Set the search result set.
 
Methods inherited from class com.ibm.etools.iseries.rse.util.evfparser.QSYSEventsFileParserLite
createErrorInformationRecord, createFeedbackCodeRecord, createFileEndRecord, createFileIDRecord, createMapDefineRecord, createMapEndRecord, createMapStartRecord, createProcessorRecord, createProgramRecord, createTimestampRecord
 
Methods inherited from class com.ibm.etools.iseries.rse.util.evfparser.QSYSEventsFileParser
getFile, parse, setFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

connection

protected IBMiConnection connection

set

protected SearchResultInputElement set

currentRoot

protected SearchResultRootElement currentRoot
Constructor Detail

SearchEventsFileParser

public SearchEventsFileParser(IFile file,
                              SearchResultInputElement set)
Creates an events file parser object.

Parameters:
the - events file
Method Detail

setISeriesConnection

public void setISeriesConnection(IBMiConnection connection)
Set the iSeriesConnection.

Parameters:
the - iSeries connection

setEvfFile

protected void setEvfFile(IFile file)
Set the events file.

Parameters:
the - events file

setSearchResultSet

protected void setSearchResultSet(SearchResultInputElement set)
Set the search result set.

Parameters:
the - search result set

getSearchResultSet

public SearchResultInputElement getSearchResultSet()
Get the search result set.

Returns:
the search result set

handleTimestampRecord

public void handleTimestampRecord(QSYSEventsFileTimestampRecord timestampRecord)
Description copied from class: QSYSEventsFileParser
Handle a Timestamp record object.

Specified by:
handleTimestampRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleTimestampRecord(ISeriesEventsFileTimestampRecord)

handleProcessorRecord

public void handleProcessorRecord(QSYSEventsFileProcessorRecord processorRecord)
Description copied from class: QSYSEventsFileParser
Handle a Processor record object.

Specified by:
handleProcessorRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleProcessorRecord(ISeriesEventsFileProcessorRecord)

handleFileIDRecord

public void handleFileIDRecord(QSYSEventsFileFileIDRecord fileIDRecord)
Description copied from class: QSYSEventsFileParser
Hnadle a File ID record object.

Specified by:
handleFileIDRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleFileIDRecord(ISeriesEventsFileFileIDRecord)

handleFileEndRecord

public void handleFileEndRecord(QSYSEventsFileFileEndRecord fileEndRecord)
Description copied from class: QSYSEventsFileParser
Handle a File End record object.

Specified by:
handleFileEndRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleFileEndRecord(ISeriesEventsFileFileEndRecord)

handleErrorInformationRecord

public void handleErrorInformationRecord(QSYSEventsFileErrorInformationRecord errorInformationRecord)
Description copied from class: QSYSEventsFileParser
Handle a Error Information record object.

Specified by:
handleErrorInformationRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleErrorInformationRecord(ISeriesEventsFileErrorInformationRecord)

handleProgramRecord

public void handleProgramRecord(QSYSEventsFileProgramRecord programRecord)
Description copied from class: QSYSEventsFileParser
Handle a Program record object.

Specified by:
handleProgramRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleProgramRecord(ISeriesEventsFileProgramRecord)

handleMapDefineRecord

public void handleMapDefineRecord(QSYSEventsFileMapDefineRecord mapDefineRecord)
Description copied from class: QSYSEventsFileParser
Handle a Map Define record object.

Specified by:
handleMapDefineRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleMapDefineRecord(ISeriesEventsFileMapDefineRecord)

handleMapStartRecord

public void handleMapStartRecord(QSYSEventsFileMapStartRecord mapStartRecord)
Description copied from class: QSYSEventsFileParser
Handle a Map Start record object.

Specified by:
handleMapStartRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleMapStartRecord(ISeriesEventsFileMapStartRecord)

handleMapEndRecord

public void handleMapEndRecord(QSYSEventsFileMapEndRecord mapEndRecord)
Description copied from class: QSYSEventsFileParser
Handle a Map End record object.

Specified by:
handleMapEndRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleMapEndRecord(ISeriesEventsFileMapEndRecord)

handleFeedbackCodeRecord

public void handleFeedbackCodeRecord(QSYSEventsFileFeedbackCodeRecord feedbackCodeRecord)
Description copied from class: QSYSEventsFileParser
Handle a Feedback Code record object.

Specified by:
handleFeedbackCodeRecord in class QSYSEventsFileParser
See Also:
com.ibm.etools.iseries.core.evfparser.ISeriesEventsFileParser#handleFeedbackCodeRecord(ISeriesEventsFileFeedbackCodeRecord)

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.