Package com.caplin.motif.mm.rates
Class RateSubjectParser
- java.lang.Object
-
- com.caplin.motif.mm.rates.RateSubjectParser
-
- All Implemented Interfaces:
SubjectParser<RateSubjectInfo>
public class RateSubjectParser extends java.lang.Object implements SubjectParser<RateSubjectInfo>
-
-
Constructor Summary
Constructors Constructor Description RateSubjectParser(java.lang.String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RateSubjectInfo
parse(java.lang.String subject)
Returns the domain object that represents the subject request.
-
-
-
Method Detail
-
parse
public RateSubjectInfo 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<RateSubjectInfo>
- Parameters:
subject
- The subject to parse.- Returns:
- The domain object.
- Throws:
SubjectParserException
- If the subject is not in the correct format
-
-