public class EquityFromRow extends InstrumentFromRow
FIELD_SECURITY_TYPE, FIELD_SYMBOL| Constructor and Description |
|---|
EquityFromRow() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canProcess(String inHeader,
int inIndex)
Returns true if this handler can handle the field corresponding
to the supplied header.
|
protected Instrument |
extract(Row inRow)
Extracts the instrument value from the supplied row.
|
protected boolean |
isHandled(Row inValue) |
getSecurityType, getSymbolprotected boolean canProcess(String inHeader, int inIndex)
InstrumentFromRowSubclasses override this method to setup any state needed to handle the headers that they care about.
canProcess in class InstrumentFromRowinHeader - the header value.inIndex - the header index.protected Instrument extract(Row inRow) throws OrderParsingException
InstrumentFromRowextract in class InstrumentFromRowinRow - the rowOrderParsingException - if there were errors extracting
the instrument value.protected boolean isHandled(Row inValue)
isHandled in class DynamicInstrumentHandler<Row>Copyright © 2014. All Rights Reserved.