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 Object implements SubjectParser<TradeSubjectInfo>
-
-
Constructor Summary
Constructors Constructor Description TradeSubjectParser(String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TradeSubjectInfo
parse(String subject)
Returns the domain object that represents the subject request.
-
-
-
Constructor Detail
-
TradeSubjectParser
public TradeSubjectParser(String namespace)
-
-
Method Detail
-
parse
public TradeSubjectInfo parse(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
-
-