org.codehaus.xfire.annotations.commons.WebResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xfire-annotations Show documentation
Show all versions of xfire-annotations Show documentation
Annotation support for XFire
package org.codehaus.xfire.annotations.commons;
import org.codehaus.xfire.annotations.WebResultAnnotation;
/**
* Commons Attributes version of the WebResult Annotation.
*
* @author Arjen Poutsma
* @@org.apache.commons.attributes.Target(org.apache.commons.attributes.Target.RETURN)
* @see org.codehaus.xfire.annotations.WebResultAnnotation
*/
public class WebResult
extends WebResultAnnotation
{
/**
* Initializes a new instance of the WebResult
attribute.
*/
public WebResult()
{
}
/**
* Initializes a new instance of the WebResult
attribute with the specified name.
*
* @param name the name.
*/
public WebResult(String name)
{
setName(name);
}
/**
* Initializes a new instance of the WebResult
attribute with the specified name
* and namespace.
*
* @param name the name.
* @param targetNamespace the target namespace.
*/
public WebResult(String name, String targetNamespace)
{
setName(name);
setTargetNamespace(targetNamespace);
}
}