public abstract class TypeBindingStrategy extends Object
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Field and Description |
---|---|
static TypeBindingStrategy |
DEFAULT
The default Betwixt
TypeBindingStrategy implementation. |
Constructor and Description |
---|
TypeBindingStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract TypeBindingStrategy.BindingType |
bindingType(Class type)
Gets the binding type to be used for the given Java type.
|
public static final TypeBindingStrategy DEFAULT
TypeBindingStrategy
implementation.
Since the default implementation has no state,
a singleton instance can be provided.public abstract TypeBindingStrategy.BindingType bindingType(Class type)
type
- Class
for which the binding type is to be determined,
not nullBindingType
enumeration indicating the type of binding,
not nullCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.