Class DefaultSwaps

java.lang.Object
org.apache.juneau.swap.DefaultSwaps

public class DefaultSwaps extends Object
Maintain the list of default swaps used by all serializers and parsers.
See Also:
  • Constructor Details

  • Method Details

    • find

      public static ObjectSwap<?,?> find(ClassInfo ci)
      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.