org.exolab.castor.builder.binding.types

Class BindingType

public class BindingType extends Object implements 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: 5951 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $

Field Summary
static BindingTypeELEMENT
The instance of the element type
static intELEMENT_TYPE
The element type
static BindingTypeTYPE
The instance of the type type
static intTYPE_TYPE
The type type
Method Summary
static Enumerationenumerate()
Returns an enumeration of all possible instances of BindingType
intgetType()
Returns the type of this BindingType
StringtoString()
Returns the String representation of this BindingType
static BindingTypevalueOf(String string)
Returns a new BindingType based on the given String value.

Field Detail

ELEMENT

public static final BindingType ELEMENT
The instance of the element type

ELEMENT_TYPE

public static final int ELEMENT_TYPE
The element type

TYPE

public static final BindingType TYPE
The instance of the type type

TYPE_TYPE

public static final int TYPE_TYPE
The type type

Method Detail

enumerate

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

getType

public int getType()
Returns the type of this BindingType

toString

public String toString()
Returns the String representation of this BindingType

valueOf

public static BindingType valueOf(String string)
Returns a new BindingType based on the given String value.

Parameters: string

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