?? weatherservice.java
字號(hào):
package org.codehaus.xfire.xmlbeans;import net.webservicex.GetWeatherByZipCodeDocument;import net.webservicex.GetWeatherByZipCodeResponseDocument;import net.webservicex.WeatherForecasts;/** * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> */public class WeatherService{ public GetWeatherByZipCodeResponseDocument GetWeatherByZipCode( GetWeatherByZipCodeDocument body ) { GetWeatherByZipCodeResponseDocument res = GetWeatherByZipCodeResponseDocument.Factory.newInstance(); WeatherForecasts weather = res.addNewGetWeatherByZipCodeResponse().addNewGetWeatherByZipCodeResult(); weather.setLatitude(1); weather.setLongitude(1); weather.setPlaceName("Grand Rapids, MI"); return res; }}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -