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