Class ConfigurableSerializerFactory

    • Constructor Detail

      • ConfigurableSerializerFactory

        public ConfigurableSerializerFactory()
        Deprecated.
    • Method Detail

      • createSerializer

        public Serializer createSerializer​(ClassLoader loader)
        Deprecated.
        Create a new Serializer.

        If the new Serializer is an instance of ClassLoaderAware and the specified ClassLoader is non-null, the new Serializer will be configured with the ClassLoader before it is returned to the caller.

        Specified by:
        createSerializer in interface SerializerFactory
        Parameters:
        loader - the optional ClassLoader with which to configure the new Serializer.
        Returns:
        the new Serializer
      • getName

        public String getName()
        Deprecated.
        Description copied from interface: SerializerFactory
        Return the name of this serializer factory.
        Specified by:
        getName in interface SerializerFactory
        Returns:
        the name of this serializer serializer factory
      • setConfig

        public void setConfig​(XmlElement xml)
        Deprecated.
        Specify the configuration for the object.
        Specified by:
        setConfig in interface XmlConfigurable
        Parameters:
        xml - the XML configuration for the object
      • getConfig

        public XmlElement getConfig()
        Deprecated.
        Determine the current configuration of the object.
        Specified by:
        getConfig in interface XmlConfigurable
        Returns:
        the XML configuration or null