public class FXBlotterSubjectParser extends Object implements SubjectParser<FXBlotterSubjectInfo>
Constructor and Description |
---|
FXBlotterSubjectParser(FXBlotter blotter)
Constructs the FXBlotterSubjectParser that recognises and parses
blotter subjects as described in the instance of
FXBlotter passed in. |
Modifier and Type | Method and Description |
---|---|
com.caplin.datasource.namespace.Namespace |
getNamespace()
Returns the namespace handled by the subject parser.
|
String |
getSubjectRegex()
Should not be used, this implementation always returns null.
|
FXBlotterSubjectInfo |
parse(String subject)
Returns the domain object that represents the subject request.
|
public FXBlotterSubjectParser(FXBlotter blotter)
FXBlotter
passed in.blotter
- The object containing subject regex's that the parser recognises and parses.public FXBlotterSubjectInfo parse(String subject) throws SubjectParserException
SubjectParser
parse
in interface SubjectParser<FXBlotterSubjectInfo>
subject
- The subject to parse.SubjectParserException
- If the subject is not in the correct formatpublic String getSubjectRegex()
getSubjectRegex
in interface SubjectParser<FXBlotterSubjectInfo>
public com.caplin.datasource.namespace.Namespace getNamespace()
SubjectParser
getNamespace
in interface SubjectParser<FXBlotterSubjectInfo>
Copyright © 2015 Caplin Systems.