public abstract class

TypeBindingStrategy

extends Object
java.lang.Object
   ↳ org.apache.commons.betwixt.strategy.TypeBindingStrategy
Known Direct Subclasses

Class Overview

Determines the way that a type (of object) should be bound by Betwixt.

Summary

Nested Classes
class TypeBindingStrategy.BindingType Enumerates the possible general ways that Betwixt can map a Java type to an XML type. 
class TypeBindingStrategy.Default The default TypeBindingStrategy used by Betwixt. 
Fields
public static final TypeBindingStrategy DEFAULT The default Betwixt TypeBindingStrategy implementation.
Public Constructors
TypeBindingStrategy()
Public Methods
abstract TypeBindingStrategy.BindingType bindingType(Class type)
Gets the binding type to be used for the given Java type.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final TypeBindingStrategy DEFAULT

The default Betwixt TypeBindingStrategy implementation. Since the default implementation has no state, a singleton instance can be provided.

Public Constructors

public TypeBindingStrategy ()

Public Methods

public abstract TypeBindingStrategy.BindingType bindingType (Class type)

Gets the binding type to be used for the given Java type.

Parameters
type Class for which the binding type is to be determined, not null
Returns
  • BindingType enumeration indicating the type of binding, not null