T
- The Type of SubjectInfo that this parser returns.public interface SubjectParser<T extends SubjectInfo>
A SubjectParser validates and parses subject requests into Domain objects; these objects provide methods which return the information contained in the request.
FXSubjectInfo
Modifier and Type | Method and Description |
---|---|
com.caplin.datasource.namespace.Namespace |
getNamespace()
Returns the namespace handled by the subject parser.
|
String |
getSubjectRegex()
Deprecated.
This method is deprecated and scheduled for removal. It was only called by the library if you made use of the |
T |
parse(String subject)
Returns the domain object that represents the subject request.
|
T parse(String subject) throws SubjectParserException
subject
- The subject to parse.SubjectParserException
- If the subject is not in the correct format@Deprecated String getSubjectRegex()
This method is deprecated and scheduled for removal.
It was only called by the library if you made use of the FXOrdersAdapter.registerStrategyDetailsRequestListenerFactory(com.caplin.motif.fx.trading.orders.details.StrategyDetailsRequestListenerFactory, SubjectParser)
method, which has also been deprecated.
com.caplin.datasource.namespace.Namespace getNamespace()
Copyright © 2015 Caplin Systems.