public interface SDRFAttributeReader
SDRFReadHandlers to delegate
 functionality of attribute reading to this interface rather than check all possible attribute combinations
 themselves.
 
 Attribute readers are analogous in general to ReadHandlers, but are
 implemented slightly differently, firstly because they do not read data into a MAGETAB investigation (instead working
 only on specific SDRF node types) and secondly because they should not be eligibly for service discovery: each SDRF
 node has a constrained number of attributes it can contain.
 
 The constructor for each SDRF handler should set up the instances of attribute readers it can defer to.| Modifier and Type | Method and Description | 
|---|---|
int | 
assess(String[] header)
Returns an integer representing the number of columns this handler can read forward of the given header. 
 | 
boolean | 
canRead(String firstHeader)
Determine whether this reader can read the attributes referenced by this header. 
 | 
void | 
readAttributes(String[] header,
              String[] data,
              SDRF sdrf,
              SDRFNode sdrfNode,
              int lineNumber,
              int columnNumber)
Reads the attributes from the data and sets them on the supplied SDRFNode 
 | 
boolean canRead(String firstHeader)
firstHeader - the first column heading to read fromint assess(String[] header)
header - the header to be passed to this attribute reader.  This should start at a column this reader can
               actually readvoid readAttributes(String[] header, String[] data, SDRF sdrf, SDRFNode sdrfNode, int lineNumber, int columnNumber) throws ParseException
header - the header to read from, starting from attributes this reader can actually readdata - the data to readsdrf - the sdrf being read tosdrfNode - the SDRF node that these attributes should be set onlineNumber - the line this data is read fromcolumnNumber - the column this data is read from    @throws ParseException if the data could not be read for
                     any reasonParseExceptionCopyright © 2014. All rights reserved.