Package com.caplin.motif.fx.trading
Class TradeSubjectParser
- java.lang.Object
-
- com.caplin.motif.fx.trading.TradeSubjectParser
-
- All Implemented Interfaces:
SubjectParser<TradeSubjectInfo>
public class TradeSubjectParser extends java.lang.Object implements SubjectParser<TradeSubjectInfo>
-
-
Constructor Summary
Constructors Constructor Description TradeSubjectParser(java.lang.String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TradeSubjectInfo
parse(java.lang.String subject)
Returns the domain object that represents the subject request.
-
-
-
Method Detail
-
parse
public TradeSubjectInfo parse(java.lang.String subject) throws SubjectParserException
Description copied from interface:SubjectParser
Returns the domain object that represents the subject request.- Specified by:
parse
in interfaceSubjectParser<TradeSubjectInfo>
- Parameters:
subject
- The subject to parse.- Returns:
- The domain object.
- Throws:
SubjectParserException
- If the subject is not in the correct format
-
-