javax.microedition.xml.rpc
Class Type

java.lang.Object
  |
  +--javax.microedition.xml.rpc.Type
Direct Known Subclasses:
ComplexType, Element

public class Type
extends Object

The JAX-RPC subset runtime SPI (Service Provider Interface) is used by generated stubs to execute RPC calls. The SPI is defined by the Type, Element, ComplexType, and Operation classes.

Type is the basic object for describing the input type and the output type of an operation.

Type is a type safe enumeration of the allowable parameter data-type. The set of built-in simple XML data types, defined in the XML schema specification, is (see JSR 172 Specification, Section 3.2.3) xsd:boolean, xsd:byte, xsd:short, xsd:int, xsd:long, xsd:float, xsd:double, and xsd:string.

See Element, ComplexType, Operation.

Since:
JDE 4.3.0

Field Summary
static Type BOOLEAN
          Type constant for boolean parameters.
static Type BYTE
          Type constant for byte parameters.
static Type DOUBLE
          Type constant for double parameters.
static Type FLOAT
          Type constant for float parameters.
static Type INT
          Type constant for int parameters.
static Type LONG
          Type constant for long parameters.
static Type SHORT
          Type constant for short parameters.
static Type STRING
          Type constant for String parameters.
 int value
          The integer value of this Type object.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOLEAN

public static final Type BOOLEAN
Type constant for boolean parameters.
Since:
JDE 4.3.0

BYTE

public static final Type BYTE
Type constant for byte parameters.
Since:
JDE 4.3.0

DOUBLE

public static final Type DOUBLE
Type constant for double parameters.
Since:
JDE 4.3.0

FLOAT

public static final Type FLOAT
Type constant for float parameters.
Since:
JDE 4.3.0

INT

public static final Type INT
Type constant for int parameters.
Since:
JDE 4.3.0

LONG

public static final Type LONG
Type constant for long parameters.
Since:
JDE 4.3.0

SHORT

public static final Type SHORT
Type constant for short parameters.
Since:
JDE 4.3.0

STRING

public static final Type STRING
Type constant for String parameters.
Since:
JDE 4.3.0

value

public final int value
The integer value of this Type object.
Since:
JDE 4.3.0



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.