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

📄 objectfactory.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.XmlRegistry;

/**
 * This object contains factory methods for each Java content interface and Java
 * element interface generated in the com.edujinionline.tutorials.webservices
 * package.
 * <p>
 * An ObjectFactory allows you to programatically construct new instances of the
 * Java representation for XML content. The Java representation of XML content
 * can consist of schema derived interfaces and classes representing the binding
 * of schema type definitions, element declarations and model groups. Factory
 * methods for each of these are provided in this class.
 * </p>
 * 
 * @version 1.0
 */
@XmlRegistry
public class ObjectFactory
{

	/**
	 * Create a new ObjectFactory that can be used to create new instances of
	 * schema derived classes for package:
	 * com.edujinionline.tutorials.webservices
	 * 
	 */
	public ObjectFactory()
	{
	}

	/**
	 * Create an instance of {@link AddMessageResponse }
	 * 
	 */
	public AddMessageResponse createAddMessageResponse()
	{
		return new AddMessageResponse();
	}

	/**
	 * Create an instance of {@link AddMessage }
	 * 
	 */
	public AddMessage createAddMessage()
	{
		return new AddMessage();
	}

}

⌨️ 快捷键说明

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