Class CoreXMLSerializers

  • All Implemented Interfaces:
    Provider<java.util.Map.Entry<java.lang.Class<?>,​JsonSerializer<?>>>

    public class CoreXMLSerializers
    extends java.lang.Object
    implements Provider<java.util.Map.Entry<java.lang.Class<?>,​JsonSerializer<?>>>
    Provider for serializers of XML types that are part of full JDK 1.5, but that some alleged 1.5 platforms are missing (Android, GAE). And for this reason these are added using more dynamic mechanism.

    Note: since many of classes defined are abstract, caller must take care not to just use straight equivalency check but rather consider subclassing as well.

    Since:
    1.4
    • Constructor Detail

      • CoreXMLSerializers

        public CoreXMLSerializers()
    • Method Detail

      • provide

        public java.util.Collection<java.util.Map.Entry<java.lang.Class<?>,​JsonSerializer<?>>> provide()
        Description copied from interface: Provider
        Method used to request provider to provide entries it has
        Specified by:
        provide in interface Provider<java.util.Map.Entry<java.lang.Class<?>,​JsonSerializer<?>>>