|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.betwixt.strategy.TypeBindingStrategy
public abstract class TypeBindingStrategy
Determines the way that a type (of object) should be bound by Betwixt.
Nested Class Summary | |
---|---|
static class |
TypeBindingStrategy.BindingType
Enumerates the possible general ways that Betwixt can map a Java type to an XML type. |
static class |
TypeBindingStrategy.Default
The default TypeBindingStrategy used by Betwixt. |
Field Summary | |
---|---|
static TypeBindingStrategy |
DEFAULT
The default Betwixt TypeBindingStrategy implementation. |
Constructor Summary | |
---|---|
TypeBindingStrategy()
|
Method Summary | |
---|---|
abstract TypeBindingStrategy.BindingType |
bindingType(java.lang.Class type)
Gets the binding type to be used for the given Java type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final TypeBindingStrategy DEFAULT
TypeBindingStrategy
implementation.
Since the default implementation has no state,
a singleton instance can be provided.
Constructor Detail |
---|
public TypeBindingStrategy()
Method Detail |
---|
public abstract TypeBindingStrategy.BindingType bindingType(java.lang.Class type)
type
- Class
for which the binding type is to be determined,
not null
BindingType
enumeration indicating the type of binding,
not null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |