@ServiceProvider public class FactorValueNodeHandler extends SDRFReadInContextHandler
FactorValueAttributeReaderPROTOCOL_DELIMITERlisteners| Constructor and Description | 
|---|
FactorValueNodeHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
assess(String[] header)
Return the index of the last header this handler can read from in the supplied header. 
 | 
int | 
assessFrom(String[] header,
          int columnNumber)
A specialised alternate form of the  
assess(String[]) method, specialised for handling Factor Value
 "floating" nodes. | 
boolean | 
canReadFrom(String[] header,
           int startIndex)
A specialised alternate form of the  
SDRFReadInContextHandler.canReadHeader(String[]) method, specialised for handling Factor
 Value "floating" nodes. | 
void | 
readData(String[] header,
        String[] data,
        SDRF sdrf,
        int lineNumber,
        int columnNumber)
Performs the unit of work to read the data into the internal datamodel. 
 | 
void | 
readDataFrom(String[] header,
            String[] data,
            SDRF sdrf,
            int lineNumber,
            int columnNumber)
A specialised alternate form of the  
SDRFReadHandler.readData(String[],
 String[], uk.ac.ebi.arrayexpress2.magetab.datamodel.SDRF, int, int) method, specialised for handling Factor
 Value "floating" nodes. | 
canReadHeader, fetchUpstreamNode, handleUpstreamNode, read, readFromassessAttribute, canRead, readAttribute, updateChildNodeaccept, addListener, fireHandlingFailedEvent, fireHandlingStartedEvent, fireHandlingSucceededEvent, getListeners, getLog, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addListener, getListeners, removeListenerpublic boolean canReadFrom(String[] header, int startIndex)
SDRFReadInContextHandler.canReadHeader(String[]) method, specialised for handling Factor
 Value "floating" nodes.  Because Factor Values can move left and right in the SDRF spreadsheet, the handler
 requires extra information to work out hybridization to attach the factor value to.  This means more data must be
 passed than normal, including the column at which the factor value is located.  This column index is passed via
 this method.canReadFrom in class SDRFReadInContextHandlerheader - the header - includes more data than normal (to enable read-back to the last hyb)startIndex - the index at which the factor value column is locatedpublic int assess(String[] header)
SDRFReadHandlerassess in class SDRFReadHandlerheader - the header to assesspublic int assessFrom(String[] header, int columnNumber)
assess(String[]) method, specialised for handling Factor Value
 "floating" nodes. Because Factor Values can move left and right in the SDRF spreadsheet, the handler requires
 extra information to work out hybridization to attach the factor value to.  This means more data must be passed
 than normal, including the column at which the factor value is located.  This column index is passed via this
 method.assessFrom in class SDRFReadInContextHandlerheader - the header - includes more data than normal (to enable read-back to the last hyb)columnNumber - the index at which the factor value column is locatedpublic void readData(String[] header, String[] data, SDRF sdrf, int lineNumber, int columnNumber) throws ParseException
SDRFReadHandlerreadData in class SDRFReadHandlerheader - the header identifying the data to readdata - the data to readsdrf - the SDRF to add data tolineNumber - the lin number this data was read fromcolumnNumber - the first column of the data being readParseException - if the header cannot be parsed or there was an error reading the valuepublic void readDataFrom(String[] header, String[] data, SDRF sdrf, int lineNumber, int columnNumber) throws ParseException
SDRFReadHandler.readData(String[],
 String[], uk.ac.ebi.arrayexpress2.magetab.datamodel.SDRF, int, int) method, specialised for handling Factor
 Value "floating" nodes.  Because Factor Values can move left and right in the SDRF spreadsheet, the handler
 requires extra information to work out hybridization to attach the factor value to.  This means more data must be
 passed than normal, including the column at which the factor value is located. This column index is passed via
 this method.readDataFrom in class SDRFReadInContextHandlerheader - the header identifying the data to readdata - the data to readsdrf - the sdrf to read the data intolineNumber - columnNumber - the index of the column to start reading from  @throws ParseException if the data cannot be
                     readParseException - if the header cannot be parsed or there was an error reading the valueCopyright © 2014. All rights reserved.