getage.java
来自「一个用java写web服务器程序」· Java 代码 · 共 37 行
JAVA
37 行
package org.netjava.web.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "getAge", namespace = "http://web.netjava.org/")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "getAge", namespace = "http://web.netjava.org/")
public class GetAge {
@XmlElement(name = "arg0", namespace = "")
private int arg0;
/**
*
* @return
* returns int
*/
public int getArg0() {
return this.arg0;
}
/**
*
* @param arg0
* the value for the arg0 property
*/
public void setArg0(int arg0) {
this.arg0 = arg0;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?