org.apache.commons.betwixt.strategy
Class TypeBindingStrategy.BindingType
java.lang.Object
org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- TypeBindingStrategy
- public static final class TypeBindingStrategy.BindingType
- extends java.lang.Object
- implements java.io.Serializable
Enumerates the possible general ways that Betwixt can map a Java type to an XML type.
- Author:
- Jakarta Commons Team, Apache Software Foundation
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
COMPLEX_INDICATOR
private static final int COMPLEX_INDICATOR
- See Also:
- Constant Field Values
PRIMITIVE_INDICATOR
private static final int PRIMITIVE_INDICATOR
- See Also:
- Constant Field Values
COMPLEX
public static final TypeBindingStrategy.BindingType COMPLEX
- Indicates that the java type should be bound to a complex xml type.
A complex xml type may have child elements and attributes.
Betwixt determines the mapping for a java bean bound to a complex type.
PRIMITIVE
public static final TypeBindingStrategy.BindingType PRIMITIVE
- Indicates that the type should be bound as a Java primitive.
Betwixt may bind this to an attribute or a simple xml type.
Which is determined by the configuration for binding primitives.
type
private int type
TypeBindingStrategy.BindingType
private TypeBindingStrategy.BindingType(int type)
equals
public boolean equals(java.lang.Object object)
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- See Also:
Object.hashCode()
toString
public java.lang.String toString()
- See Also:
Object.toString()