com.jp.protection.priv.pro.parser.text
Class TextOrderParser.GenericProvider
java.lang.Object
com.jp.protection.priv.pro.parser.text.TextOrderParser.GenericProvider
- All Implemented Interfaces:
- OrderParser.Provider
- Enclosing class:
- TextOrderParser
public static class TextOrderParser.GenericProvider
- extends java.lang.Object
- implements OrderParser.Provider
Field Summary |
static java.lang.String |
ID
|
Method Summary |
OrderParser |
create(java.util.Locale aLocale)
Creates a new instance of the order parser for specified locale |
java.lang.String |
getDescription()
Returns the description of the order parser |
java.lang.String |
getID()
Returns unique identifier of the order parser implementation |
java.lang.String |
getName()
Returns the name of the order parser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
TextOrderParser.GenericProvider
public TextOrderParser.GenericProvider()
create
public OrderParser create(java.util.Locale aLocale)
- Description copied from interface:
OrderParser.Provider
- Creates a new instance of the order parser for specified locale
- Specified by:
create
in interface OrderParser.Provider
- Parameters:
aLocale
- locale a new order parser should be created for; locale independent implementations
should simply ignore this argument
- Returns:
- a new instance of the
OrderParser
getDescription
public java.lang.String getDescription()
- Description copied from interface:
OrderParser.Provider
- Returns the description of the order parser
- Specified by:
getDescription
in interface OrderParser.Provider
- Returns:
- description of the order parser
getID
public java.lang.String getID()
- Description copied from interface:
OrderParser.Provider
- Returns unique identifier of the order parser implementation
- Specified by:
getID
in interface OrderParser.Provider
- Returns:
- unique identifier of the order parser implementation
getName
public java.lang.String getName()
- Description copied from interface:
OrderParser.Provider
- Returns the name of the order parser
- Specified by:
getName
in interface OrderParser.Provider
- Returns:
- name of the order parser