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