org.apache.commons.betwixt.strategy
Class TypeBindingStrategy.BindingType
java.lang.Object
org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- TypeBindingStrategy
public static final class TypeBindingStrategy.BindingType
- extends Object
- implements Serializable
Enumerates the possible general ways that Betwixt can map a Java type to an XML type.
- Author:
- Apache Commons Team, Apache Software Foundation
- See Also:
- Serialized Form
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.
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
toString
public String toString()
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.