objectfactory.java

来自「This article describes how to consume We」· Java 代码 · 共 52 行

JAVA
52
字号
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 + =
减小字号Ctrl + -
显示快捷键?