javax.xml.rpc.ParameterMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javax.xml.rpc-api Show documentation
Show all versions of javax.xml.rpc-api Show documentation
Java APIs for XML based RPC
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package javax.xml.rpc;
/** The javax.xml.rpc.ParameterMode
is a type-safe
* enumeration for parameter mode. This class is used in the
* Call
API to specify parameter passing modes.
*
* @version 1.0
* @author Rahul Sharma
* @see javax.xml.rpc.Call
**/
public class ParameterMode {
private final String mode;
private ParameterMode(String mode) {
this.mode = mode;
}
/** Returns a String
describing this ParameterMode
object.
*
* @return A string representation of the object.
**/
public String toString() { return mode; }
/** IN mode for parameter passing
**/
public static final ParameterMode IN = new ParameterMode("IN");
/** OUT mode for parameter passing
**/
public static final ParameterMode OUT = new ParameterMode("OUT");
/** INOUT mode for parameter passing
**/
public static final ParameterMode INOUT =
new ParameterMode("INOUT");
}