javax.microedition.xml.rpc
Class Type

java.lang.Object
  extended by 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:
BlackBerry API 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:
BlackBerry API 4.3.0

BYTE

public static final Type BYTE
Type constant for byte parameters.

Since:
BlackBerry API 4.3.0

SHORT

public static final Type SHORT
Type constant for short parameters.

Since:
BlackBerry API 4.3.0

INT

public static final Type INT
Type constant for int parameters.

Since:
BlackBerry API 4.3.0

LONG

public static final Type LONG
Type constant for long parameters.

Since:
BlackBerry API 4.3.0

FLOAT

public static final Type FLOAT
Type constant for float parameters.

Since:
BlackBerry API 4.3.0

DOUBLE

public static final Type DOUBLE
Type constant for double parameters.

Since:
BlackBerry API 4.3.0

STRING

public static final Type STRING
Type constant for String parameters.

Since:
BlackBerry API 4.3.0

value

public final int value
The integer value of this Type object.

Since:
BlackBerry API 4.3.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal