Package org.wsdmdemo.service.weatherStation.impl

Examples of org.wsdmdemo.service.weatherStation.impl.TemperatureMetricTypeImpl.doubleValue()


    XmlObject[] tempArry=m_ws.getResourceProperty(weatherStationTempQname);
    if(tempArry.length>0){
      TemperatureMetricTypeImpl x=(TemperatureMetricTypeImpl)tempArry[0];
     
      String value=x.newCursor().getTextValue();
      return new Long(Math.round(x.doubleValue())).intValue();
    }
    return -1;
  }

  public String getPrice() throws FaultException{
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.