org.apache.wicket.examples.stockquote
Class StockQuote

java.lang.Object
  extended by 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
StockQuote()
          Default constructor.
StockQuote(String symbol)
          Constructor setting the symbol to get the quote for.
 
Method Summary
 String getQuote()
          Gets a stock quote for the given symbol
 String getSymbol()
          Gets the symbol.
 void setSymbol(String symbol)
          Sets the symbol for getting the quote.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Method Detail

getSymbol

public String getSymbol()
Gets the symbol.

Returns:
the symbol

setSymbol

public void setSymbol(String symbol)
Sets the symbol for getting the quote.

Parameters:
symbol -

getQuote

public String getQuote()
Gets a stock quote for the given symbol

Returns:
the stock quote


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.