Package org.deckfour.xes.out
Class XSerializerRegistry
- java.lang.Object
-
- org.deckfour.xes.util.XRegistry<XSerializer>
-
- org.deckfour.xes.out.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanareEqual(XSerializer a, XSerializer b)Subclasses must implement this method.static XSerializerRegistryinstance()Retrieves the singleton registry instance.-
Methods inherited from class org.deckfour.xes.util.XRegistry
currentDefault, getAvailable, isContained, register, setCurrentDefault
-
-
-
-
Method Detail
-
instance
public static XSerializerRegistry instance()
Retrieves the singleton registry instance.
-
areEqual
protected boolean areEqual(XSerializer a, XSerializer b)
Description copied from class:XRegistrySubclasses must implement this method. It is used by the registry to ensure that no duplicates are inserted.- Specified by:
areEqualin classXRegistry<XSerializer>- Parameters:
a- An instance a.b- Another instance b.- Returns:
- Whether the instances a and b are equivalent.
-
-