public class AllocationViewSubjectParser extends Object implements SubjectParser<AllocationViewEvent>
Constructor and Description |
---|
AllocationViewSubjectParser() |
Modifier and Type | Method and Description |
---|---|
com.caplin.datasource.namespace.Namespace |
getNamespace()
Returns the namespace handled by the subject parser.
|
String |
getSubjectRegex()
Returns the regular expression used by this parser to parse a subject.
|
AllocationViewEvent |
parse(String subject)
Returns the domain object that represents the subject request.
|
public AllocationViewEvent parse(String subject) throws SubjectParserException
SubjectParser
parse
in interface SubjectParser<AllocationViewEvent>
subject
- The subject to parse.SubjectParserException
- If the subject is not in the correct formatpublic String getSubjectRegex()
SubjectParser
getSubjectRegex
in interface SubjectParser<AllocationViewEvent>
public com.caplin.datasource.namespace.Namespace getNamespace()
SubjectParser
getNamespace
in interface SubjectParser<AllocationViewEvent>
Copyright © 2015 Caplin Systems.