public class OrderDetailsSubjectParser extends Object implements SubjectParser<StrategySubjectInfo>
Modifier | Constructor and Description |
---|---|
|
OrderDetailsSubjectParser() |
protected |
OrderDetailsSubjectParser(String regex) |
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.
|
StrategySubjectInfo |
parse(String subject)
Returns the domain object that represents the subject request.
|
protected final String regex
public OrderDetailsSubjectParser()
protected OrderDetailsSubjectParser(String regex)
public StrategySubjectInfo parse(String subject) throws SubjectParserException
SubjectParser
parse
in interface SubjectParser<StrategySubjectInfo>
subject
- The subject to parse.SubjectParserException
- If the subject is not in the correct formatpublic String getSubjectRegex()
SubjectParser
getSubjectRegex
in interface SubjectParser<StrategySubjectInfo>
public com.caplin.datasource.namespace.Namespace getNamespace()
SubjectParser
getNamespace
in interface SubjectParser<StrategySubjectInfo>
Copyright © 2015 Caplin Systems.