public static final class TypeBindingStrategy.Default extends TypeBindingStrategy
TypeBindingStrategy
used by Betwixt.
This implementation recognizes all the usual Java primitive wrappers
(plus a few more that will in most typical use cases be regarded in the same way).TypeBindingStrategy.BindingType, TypeBindingStrategy.Default
DEFAULT
Constructor and Description |
---|
TypeBindingStrategy.Default() |
Modifier and Type | Method and Description |
---|---|
TypeBindingStrategy.BindingType |
bindingType(Class type)
Gets the binding type to be used for the given Java type.
|
protected boolean |
isStandardPrimitive(Class type)
is the given type one of the standard Betwixt primitives?
|
public TypeBindingStrategy.BindingType bindingType(Class type)
bindingType
in class TypeBindingStrategy
type
- Class
for which the binding type is to be determined,
not nullBindingType
enumeration indicating the type of binding,
not nullprotected boolean isStandardPrimitive(Class type)
type
- Class
, not nullCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.