public static final class

TypeBindingStrategy.BindingType

extends Object
implements Serializable
java.lang.Object
   ↳ org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType

Class Overview

Enumerates the possible general ways that Betwixt can map a Java type to an XML type.

Summary

Fields
public static final TypeBindingStrategy.BindingType COMPLEX Indicates that the java type should be bound to a complex xml type.
public static final TypeBindingStrategy.BindingType PRIMITIVE Indicates that the type should be bound as a Java primitive.
Public Methods
boolean equals(Object object)
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

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.

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.

Public Methods

public boolean equals (Object object)

public int hashCode ()

See Also

public String toString ()

See Also