Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.

Copyright © 2007 Sun Microsystems, Inc. All rights reserved.

JSR 172

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 java.lang.Object

The class Type is a type safe enumeration of allowable types that are used to identify simple types defined in a Web Service's WSDL definition. The set of simple types are:

Version:
0.1
See Also:
Stub, Operation

Field Summary
static Type BOOLEAN
          Type constant identifying boolean parameters.
static Type BYTE
          Type constant identifying byte parameters.
static Type DOUBLE
          Type constant identifying double parameters.
static Type FLOAT
          Type constant identifying float parameters.
static Type INT
          Type constant identifying integer parameters.
static Type LONG
          Type constant identifying long parameters.
static Type SHORT
          Type constant identifying short parameters.
static Type STRING
          Type constant identifying String parameters.
 int value
          The internal integer "value" of this Type, [0-8]
 
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 identifying boolean parameters. Given the integer value '0'.


BYTE

public static final Type BYTE
Type constant identifying byte parameters. Given the integer value '1'.


SHORT

public static final Type SHORT
Type constant identifying short parameters. Given the integer value '2'.


INT

public static final Type INT
Type constant identifying integer parameters. Given the integer value '3'.


LONG

public static final Type LONG
Type constant identifying long parameters. Given the integer value '4'.


FLOAT

public static final Type FLOAT
Type constant identifying float parameters. Given the integer value '5'.


DOUBLE

public static final Type DOUBLE
Type constant identifying double parameters. Given the integer value '6'.


STRING

public static final Type STRING
Type constant identifying String parameters. Given the integer value '7'.


value

public final int value
The internal integer "value" of this Type, [0-8]


JSR 172

Copyright © 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 172 specification.