Class XSerializerRegistry


  • public class XSerializerRegistry
    extends XRegistry<XSerializer>
    System-wide registry for XES serializer implementations. Applications can use this registry as a convenience to provide an overview about serializeable formats, e.g., in the user interface. Any custom serializer implementation can be registered with this registry, so that it transparently becomes available also to any other using application.
    Author:
    Christian W. Guenther (christian@deckfour.org)
    • Method Detail

      • instance

        public static XSerializerRegistry instance()
        Retrieves the singleton registry instance.
      • areEqual

        protected boolean areEqual​(XSerializer a,
                                   XSerializer b)
        Description copied from class: XRegistry
        Subclasses must implement this method. It is used by the registry to ensure that no duplicates are inserted.
        Specified by:
        areEqual in class XRegistry<XSerializer>
        Parameters:
        a - An instance a.
        b - Another instance b.
        Returns:
        Whether the instances a and b are equivalent.