Class BindingType
java.lang.Object
org.exolab.castor.builder.binding.xml.types.BindingType
- All Implemented Interfaces:
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BindingTypeThe instance of the element typestatic final intThe element typestatic final BindingTypeThe instance of the type typestatic final intThe type type -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumerationMethod enumerate.Returns an enumeration of all possible instances of BindingTypeintgetType()Method getType.Returns the type of this BindingTypetoString()Method toString.Returns the String representation of this BindingTypestatic BindingTypeMethod valueOf.Returns a new BindingType based on the given String value.
-
Field Details
-
ELEMENT_TYPE
public static final int ELEMENT_TYPEThe element type- See Also:
-
ELEMENT
The instance of the element type -
TYPE_TYPE
public static final int TYPE_TYPEThe type type- See Also:
-
TYPE
The instance of the type type
-
-
Method Details
-
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
-
valueOf
Method valueOf.Returns a new BindingType based on the given String value.- Parameters:
string-- Returns:
- the BindingType value of parameter 'string'
-