org.marketcetera.marketdata.yahoo
Enum YahooFeedMessageTranslator
java.lang.Object
java.lang.Enum<YahooFeedMessageTranslator>
org.marketcetera.marketdata.yahoo.YahooFeedMessageTranslator
- All Implemented Interfaces:
- Serializable, Comparable<YahooFeedMessageTranslator>, DataRequestTranslator<List<org.marketcetera.marketdata.yahoo.YahooRequest>>
public enum YahooFeedMessageTranslator
- extends Enum<YahooFeedMessageTranslator>
- implements DataRequestTranslator<List<org.marketcetera.marketdata.yahoo.YahooRequest>>
Translates market data requests to a format Yahoo can understand.
- Since:
- 2.1.4
- Version:
- $Id: YahooFeedMessageTranslator.java 16154 2012-07-14 16:34:05Z colin $
- Author:
- Colin DuPlantis
INSTANCE
public static final YahooFeedMessageTranslator INSTANCE
values
public static YahooFeedMessageTranslator[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (YahooFeedMessageTranslator c : YahooFeedMessageTranslator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static YahooFeedMessageTranslator valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
fromDataRequest
public List<org.marketcetera.marketdata.yahoo.YahooRequest> fromDataRequest(MarketDataRequest inRequest)
- Specified by:
fromDataRequest in interface DataRequestTranslator<List<org.marketcetera.marketdata.yahoo.YahooRequest>>
Copyright © 2012. All Rights Reserved.