Package com.caplin.motif.datasource
Interface SubjectParser<T extends SubjectInfo>
-
- Type Parameters:
T
- The Type of SubjectInfo that this parser returns.
- All Known Implementing Classes:
AllocationViewSubjectParser
,ConfigSubjectParser
,LiquiditySubjectParser
,OrderDetailsSubjectParser
,OrderSubjectParser
,PrecisionSubjectParser
,RateSubjectParser
,RateSubjectParser
,SalesOrderDetailsSubjectParser
,SalesSettlementInstructionsMandatorySubjectParser
,SalesTOBOConfigSubjectParser
,SettlementInstructionsMandatorySubjectParser
,TradeSubjectParser
,UnsettledSubjectParser
,UserDetailsSubjectParser
public interface SubjectParser<T extends SubjectInfo>
A SubjectParser validates and parses subject requests into Domain objects; these objects provide methods which return the information contained in the request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
parse(String subject)
Returns the domain object that represents the subject request.
-
-
-
Method Detail
-
parse
T parse(String subject) throws SubjectParserException
Returns the domain object that represents the subject request.- Parameters:
subject
- The subject to parse.- Returns:
- The domain object.
- Throws:
SubjectParserException
- If the subject is not in the correct format
-
-