⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addmessage.java

📁 This article describes how to consume Web services in Java 1.5.0 using the new JAX-WS 2.0 API (JSR 2
💻 JAVA
字号:
package com.edujinionline.tutorials.webservices;

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;

/**
 * <p>
 * Java class for AddMessage element declaration.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 *  &lt;element name=&quot;AddMessage&quot;&gt;
 *    &lt;complexType&gt;
 *      &lt;complexContent&gt;
 *        &lt;restriction base=&quot;{http://www.w3.org/2001/XMLSchema}anyType&quot;&gt;
 *          &lt;sequence&gt;
 *            &lt;element name=&quot;x&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}double&quot;/&gt;
 *            &lt;element name=&quot;y&quot; type=&quot;{http://www.w3.org/2001/XMLSchema}double&quot;/&gt;
 *          &lt;/sequence&gt;
 *        &lt;/restriction&gt;
 *      &lt;/complexContent&gt;
 *    &lt;/complexType&gt;
 *  &lt;/element&gt;
 * </pre>
 * 
 * @version 1.0
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder =
	{ "x", "y" })
@XmlRootElement(name = "AddMessage")
public class AddMessage
{

	@XmlElement(namespace = "http://www.edujinionline.com/ns/ws/samples/dn/S01BasicServices/")
	protected double x;
	@XmlElement(namespace = "http://www.edujinionline.com/ns/ws/samples/dn/S01BasicServices/")
	protected double y;

	/**
	 * Gets the value of the x property.
	 * 
	 */
	public double getX()
	{
		return x;
	}

	/**
	 * Sets the value of the x property.
	 * 
	 */
	public void setX(double value)
	{
		this.x = value;
	}

	/**
	 * Gets the value of the y property.
	 * 
	 */
	public double getY()
	{
		return y;
	}

	/**
	 * Sets the value of the y property.
	 * 
	 */
	public void setY(double value)
	{
		this.y = value;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -