All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.xfire.annotations.commons.WebResult Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy