Package org.apache.juneau.swap
Class DefaultSwaps
java.lang.Object
org.apache.juneau.swap.DefaultSwaps
Maintain the list of default swaps used by all serializers and parsers.
See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectSwap<?,
?> Find the default ObjectSwap for the specified class.
-
Constructor Details
-
DefaultSwaps
public DefaultSwaps()
-
-
Method Details
-
find
Find the default ObjectSwap for the specified class.- Parameters:
ci
- The class to find the swap for.- Returns:
- The matched swap, or
null if it couldn't be found.
-