public class OceanCurrents extends Object
you can use the main() method as a test harness.
| Modifier and Type | Field and Description | 
|---|---|
| static String | U_CURRENT | 
| static String | V_CURRENT | 
| Constructor and Description | 
|---|
| OceanCurrents(double[][] pLatLong)Constructor; takes a two-dimensional array of doubles. | 
| OceanCurrents(double pLatitude,
             double pLongitude,
             double pDepth)Constructor; given a latitude and longitude, creates an object capable of sending
 a JMBL request to a server and getting a response back. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<OceanCurrentsData> | getOceanCurrents()returns the ocean currents for the latitude and longitude specified. | 
| static void | main(String[] args)Test harness. | 
public static final String V_CURRENT
public static final String U_CURRENT
public OceanCurrents(double pLatitude,
             double pLongitude,
             double pDepth)
pLatitude - latitude Latitude of locationpLongitude - longitude Longitude of location in oceanpDepth - depth at which we want the currentspublic OceanCurrents(double[][] pLatLong)
pLatLong - public List<OceanCurrentsData> getOceanCurrents()
public static void main(String[] args) throws org.exolab.castor.xml.ValidationException, FileNotFoundException, org.exolab.castor.xml.MarshalException, RemoteException, javax.xml.rpc.ServiceException
args - org.exolab.castor.xml.ValidationExceptionFileNotFoundExceptionorg.exolab.castor.xml.MarshalExceptionRemoteExceptionjavax.xml.rpc.ServiceException