-
大小: 40KB文件類型: .zip金幣: 2下載: 0 次發布日期: 2021-06-02
- 語言: Java
- 標簽: WebService??wsdl??
資源簡介

代碼片段和文件信息
package?com.cn.weather;
import?java.util.ArrayList;
import?java.util.List;
import?javax.xml.bind.annotation.xmlAccessType;
import?javax.xml.bind.annotation.xmlAccessorType;
import?javax.xml.bind.annotation.xmlElement;
import?javax.xml.bind.annotation.xmlType;
/**
?*?Java?class?for?ArrayOfString?complex?type.
?*?
?*?
The?following?schema?fragment?specifies?the?expected?content?contained?within?this?class.
?*?
?*?
?*?<complexType?name=“ArrayOfString“>
?*???<complexContent>
?*?????<restriction?base=“{http://www.w3.org/2001/xmlSchema}anyType“>
?*???????<sequence>
?*?????????<element?name=“string“?type=“{http://www.w3.org/2001/xmlSchema}string“?maxOccurs=“unbounded“?minOccurs=“0“/>
?*???????</sequence>
?*?????</restriction>
?*???</complexContent>
?*?</complexType>
?*?
?*?
?*?
?*/
@xmlAccessorType(xmlAccessType.FIELD)
@xmlType(name?=?“ArrayOfString“?propOrder?=?{
????“string“
})
public?class?ArrayOfString?{
????@xmlElement(nillable?=?true)
????protected?List?string;
????/**
?????*?Gets?the?value?of?the?string?property.
?????*?
?????*?
?????*?This?accessor?method?returns?a?reference?to?the?live?list
?????*?not?a?snapshot.?Therefore?any?modification?you?make?to?the
?????*?returned?list?will?be?present?inside?the?JAXB?object.
?????*?This?is?why?there?is?not?a?set
?method?for?the?string?property.
?????*?
?????*?
?????*?For?example?to?add?a?new?item?do?as?follows:
?????*?
?????*????getString().add(newItem);
?????*?
?????*?
?????*?
?????*?
?????*?objects?of?the?following?type(s)?are?allowed?in?the?list
?????*?{@link?String?}
?????*?
?????*?
?????*/
????public?List?getString()?{
????????if?(string?==?null)?{
????????????string?=?new?ArrayList();
????????}
????????return?this.string;
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-03-13?15:51??Weather_client\
?????文件?????????301??2018-03-13?14:53??Weather_client\.classpath
?????文件?????????390??2018-03-13?14:53??Weather_client\.project
?????目錄???????????0??2018-03-13?14:53??Weather_client\.settings\
?????文件?????????598??2018-03-13?14:53??Weather_client\.settings\org.eclipse.jdt.core.prefs
?????目錄???????????0??2018-03-13?16:12??Weather_client\bin\
?????目錄???????????0??2018-03-13?16:12??Weather_client\bin\com\
?????目錄???????????0??2018-03-13?16:12??Weather_client\bin\com\cn\
?????目錄???????????0??2018-03-13?16:13??Weather_client\bin\com\cn\weather\
?????文件?????????940??2018-03-13?16:12??Weather_client\bin\com\cn\weather\ArrayOfString.class
?????文件?????????901??2018-03-13?16:12??Weather_client\bin\com\cn\weather\DataSet.class
?????文件?????????586??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetRegionCountry.class
?????文件?????????978??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetRegionCountryResponse.class
?????文件?????????586??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetRegionDataset.class
?????文件????????1099??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetRegionDatasetResponse$GetRegionDatasetResult.class
?????文件????????1204??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetRegionDatasetResponse.class
?????文件?????????590??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetRegionProvince.class
?????文件?????????985??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetRegionProvinceResponse.class
?????文件?????????903??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetSupportCityDataset.class
?????文件????????1134??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetSupportCityDatasetResponse$GetSupportCityDatasetResult.class
?????文件????????1284??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetSupportCityDatasetResponse.class
?????文件?????????899??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetSupportCityString.class
?????文件????????1006??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetSupportCityStringResponse.class
?????文件????????1053??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetWeather.class
?????文件?????????936??2018-03-13?16:12??Weather_client\bin\com\cn\weather\GetWeatherResponse.class
?????文件????????4653??2018-03-13?16:12??Weather_client\bin\com\cn\weather\ob
?????文件????????2411??2018-03-13?16:12??Weather_client\bin\com\cn\weather\WeatherWS.class
?????文件????????2957??2018-03-13?16:12??Weather_client\bin\com\cn\weather\WeatherWSSoap.class
?????文件?????????321??2018-03-13?16:12??Weather_client\bin\com\cn\weather\package-info.class
?????目錄???????????0??2018-03-13?16:13??Weather_client\bin\com\cn\weather\test\
?????文件????????1807??2018-03-13?16:15??Weather_client\bin\com\cn\weather\test\WeatherTest.class
............此處省略26個文件信息
- 上一篇:程序設計外文資料
- 下一篇:基于Java實現的socket即時通信系統
評論
共有 條評論