org.exolab.castor.builder.binding.types

Class BindingType

Implemented Interfaces:
java.io.Serializable

public class BindingType
extends java.lang.Object
implements java.io.Serializable

List of the allowed values for the binding type from an XML schema to a java class. The type can either be 'element' or 'complexType'.
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:55 $
See Also:
Serialized Form

Field Summary

static BindingType
ELEMENT
The instance of the element type
static int
ELEMENT_TYPE
The element type
static BindingType
TYPE
The instance of the type type
static int
TYPE_TYPE
The type type

Method Summary

static java.util.Enumeration
enumerate()
Returns an enumeration of all possible instances of BindingType
int
getType()
Returns the type of this BindingType
java.lang.String
toString()
Returns the String representation of this BindingType
static BindingType
valueOf(java.lang.String string)
Returns a new BindingType based on the given String value.

Field Details

ELEMENT

public static final BindingType ELEMENT
The instance of the element type

ELEMENT_TYPE

public static final int ELEMENT_TYPE
The element type
Field Value:
0

TYPE

public static final BindingType TYPE
The instance of the type type

TYPE_TYPE

public static final int TYPE_TYPE
The type type
Field Value:
1

Method Details

enumerate

public static java.util.Enumeration enumerate()
Returns an enumeration of all possible instances of BindingType

getType

public int getType()
Returns the type of this BindingType

toString

public java.lang.String toString()
Returns the String representation of this BindingType

valueOf

public static BindingType valueOf(java.lang.String string)
Returns a new BindingType based on the given String value.
Parameters:
string -

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com