Class BindingType
- java.lang.Object
-
- org.exolab.castor.builder.binding.xml.types.BindingType
-
- All 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$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BindingType
ELEMENT
The instance of the element typestatic int
ELEMENT_TYPE
The element typestatic BindingType
TYPE
The instance of the type typestatic int
TYPE_TYPE
The type type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Enumeration
enumerate()
Method enumerate.Returns an enumeration of all possible instances of BindingTypeint
getType()
Method getType.Returns the type of this BindingTypejava.lang.String
toString()
Method toString.Returns the String representation of this BindingTypestatic BindingType
valueOf(java.lang.String string)
Method valueOf.Returns a new BindingType based on the given String value.
-
-
-
Field Detail
-
ELEMENT_TYPE
public static final int ELEMENT_TYPE
The element type- See Also:
- Constant Field Values
-
ELEMENT
public static final BindingType ELEMENT
The instance of the element type
-
TYPE_TYPE
public static final int TYPE_TYPE
The type type- See Also:
- Constant Field Values
-
TYPE
public static final BindingType TYPE
The instance of the type type
-
-
Method Detail
-
enumerate
public static java.util.Enumeration enumerate()
Method enumerate.Returns an enumeration of all possible instances of BindingType- Returns:
- an Enumeration over all possible instances of BindingType
-
getType
public int getType()
Method getType.Returns the type of this BindingType- Returns:
- the type of this BindingType
-
toString
public java.lang.String toString()
Method toString.Returns the String representation of this BindingType- Overrides:
toString
in classjava.lang.Object
- Returns:
- the String representation of this BindingType
-
valueOf
public static BindingType valueOf(java.lang.String string)
Method valueOf.Returns a new BindingType based on the given String value.- Parameters:
string
-- Returns:
- the BindingType value of parameter 'string'
-
-