|
||||||||||
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 org.apache.commons.betwixt.strategy.TypeBindingStrategy.Default
public static final class TypeBindingStrategy.Default
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).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.commons.betwixt.strategy.TypeBindingStrategy |
---|
TypeBindingStrategy.BindingType, TypeBindingStrategy.Default |
Field Summary |
---|
Fields inherited from class org.apache.commons.betwixt.strategy.TypeBindingStrategy |
---|
DEFAULT |
Constructor Summary | |
---|---|
TypeBindingStrategy.Default()
|
Method Summary | |
---|---|
TypeBindingStrategy.BindingType |
bindingType(java.lang.Class type)
Gets the binding type to be used for the given Java type. |
protected boolean |
isStandardPrimitive(java.lang.Class type)
is the given type one of the standard Betwixt primitives? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeBindingStrategy.Default()
Method Detail |
---|
public TypeBindingStrategy.BindingType bindingType(java.lang.Class type)
bindingType
in class TypeBindingStrategy
type
- Class
for which the binding type is to be determined,
not null
BindingType
enumeration indicating the type of binding,
not nullprotected boolean isStandardPrimitive(java.lang.Class type)
type
- Class
, not null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |