package com.tgb.service;
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;
/**
* <p>getAllCatsResponse complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* <complexType name="getAllCatsResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="_return">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="entry" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="value" type="{http://service.tgb.com/}cat" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "getAllCatsResponse", propOrder = {
"_return"
})
public class GetAllCatsResponse {
@XmlElement(required = true)
protected GetAllCatsResponse.Return _return;
/**
* 获取return属性的值。
*
* @return
* possible object is
* {@link GetAllCatsResponse.Return }
*
*/
public GetAllCatsResponse.Return getReturn() {
return _return;
}
/**
* 设置return属性的值。
*
* @param value
* allowed object is
* {@link GetAllCatsResponse.Return }
*
*/
public void setReturn(GetAllCatsResponse.Return value) {
this._return = value;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="entry" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="value" type="{http://service.tgb.com/}cat" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"entry"
})
public static class Return {
protected List<GetAllCatsResponse.Return.Entry> entry;
/**
* Gets the value of the entry property.
*
* <p>
* 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 <CODE>set</CODE> method for the entry property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getEntry().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link GetAllCatsResponse.Return.Entry }
*
*
*/
public List<GetAllCatsResponse.Return.Entry> getEntry() {
if (entry == null) {
entry = new ArrayList<GetAllCatsResponse.Return.Entry>();
}
return this.entry;
}
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="value" type="{http://service.tgb.com/}cat" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"key",
"value"
})
public static class Entry {
protected String key;
protected Cat value;
/**
* 获取key属性的值。
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* 设置key属性的值。
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* 获取value属性的值。
*
* @return
* possible object is
* {@link Cat }
*
*/
public Cat getValue() {
return value;
}
/**
* 设置value属性的值。
*
* @param value
* allowed object is
* {@link Cat }
*
*/
public void setValue(Cat value) {
this.value = value;
}
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
CXF WebService带有拦截器
共52个文件
class:24个
java:22个
classpath:2个
4星 · 超过85%的资源 需积分: 50 108 下载量 27 浏览量
2015-07-30
11:16:52
上传
评论 1
收藏 48KB ZIP 举报
温馨提示
Web Service学习-CXF开发Web Service的权限控制(二)
资源推荐
资源详情
资源评论
收起资源包目录
CXF_WebService_AuthFilter.zip (52个子文件)
AuthFilter_Service
.project 394B
src
com
tgb
service
impl
UserServiceImpl.java 963B
HelloWorldImpl.java 944B
UserService.java 248B
HelloWorld.java 348B
domain
User.java 2KB
Cat.java 613B
auth
AuthInterceptor.java 2KB
client
ServerMain.java 960B
.settings
org.eclipse.jdt.core.prefs 598B
.classpath 303B
bin
com
tgb
service
UserService.class 378B
HelloWorld.class 498B
impl
HelloWorldImpl.class 2KB
UserServiceImpl.class 3KB
domain
User.class 2KB
Cat.class 1KB
auth
AuthInterceptor.class 3KB
client
ServerMain.class 1KB
AuthFilter_Client
.project 393B
src
com
tgb
service
User.java 3KB
GetAllCats.java 686B
Cat.java 2KB
GetCatsByUserResponse.java 2KB
impl
HelloWorldImpl.java 3KB
SayHiResponse.java 1KB
GetAllCatsResponse.java 7KB
package-info.java 103B
ObjectFactory.java 6KB
HelloWorld.java 2KB
SayHi.java 1KB
GetCatsByUser.java 1KB
auth
AddHeaderInterceptor.java 2KB
hjy
ClientMain.java 1KB
.settings
org.eclipse.jdt.core.prefs 598B
.classpath 372B
bin
com
tgb
service
User.class 1KB
GetAllCats.class 507B
GetCatsByUser.class 801B
SayHiResponse.class 863B
Cat.class 1KB
HelloWorld.class 1KB
SayHi.class 757B
GetCatsByUserResponse.class 974B
GetAllCatsResponse.class 1KB
impl
HelloWorldImpl.class 3KB
package-info.class 244B
ObjectFactory.class 5KB
GetAllCatsResponse$Return.class 1KB
GetAllCatsResponse$Return$Entry.class 1KB
auth
AddHeaderInterceptor.class 2KB
hjy
ClientMain.class 3KB
共 52 条
- 1
资源评论
- snowbird1002016-12-07忘记了我有spring,用配置方式,这个是单独cxf
静静~嗯嗯
- 粉丝: 2695
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功