Class Overview
The default 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).
Public Constructors
public
TypeBindingStrategy.Default
()
Public Methods
Gets the binding type to be used for the given Java type.
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).
Parameters
type
| Class for which the binding type is to be determined,
not null |
Returns
BindingType
enumeration indicating the type of binding,
not null
Protected Methods
protected
boolean
isStandardPrimitive
(Class type)
is the given type one of the standard Betwixt primitives?
Returns
- true if the type is one of the standard Betwixt primitives