Class StockQuote
- java.lang.Object
-
- org.apache.wicket.examples.stockquote.StockQuote
-
public class StockQuote extends Object
Provides access to a SOAP service for getting stock quotes based on a symbol. Found on http://www.devx.com/Java/Article/27559/0/page/2
-
-
Constructor Summary
Constructors Constructor Description StockQuote()Default constructor.StockQuote(String symbol)Constructor setting the symbol to get the quote for.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetQuote()Gets a stock quote for the given symbolStringgetSymbol()Gets the symbol.voidsetSymbol(String symbol)Sets the symbol for getting the quote.
-
-
-
Constructor Detail
-
StockQuote
public StockQuote()
Default constructor.
-
StockQuote
public StockQuote(String symbol)
Constructor setting the symbol to get the quote for.- Parameters:
symbol- the symbol to look up
-
-