org.apache.commons.betwixt.strategy
Class TypeBindingStrategy
java.lang.Object
org.apache.commons.betwixt.strategy.TypeBindingStrategy
- Direct Known Subclasses:
- TypeBindingStrategy.Default
public abstract class TypeBindingStrategy
- extends Object
Determines the way that a type (of object) should be bound
by Betwixt.
- Author:
- Apache Commons Team, Apache Software Foundation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final TypeBindingStrategy DEFAULT
- The default Betwixt
TypeBindingStrategy
implementation.
Since the default implementation has no state,
a singleton instance can be provided.
TypeBindingStrategy
public TypeBindingStrategy()
bindingType
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
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.