org.deckfour.xes.in
Class XParserRegistry
java.lang.Object
org.deckfour.xes.util.XRegistry<XParser>
org.deckfour.xes.in.XParserRegistry
public class XParserRegistry
- extends XRegistry<XParser>
System-wide registry for XES parser implementations.
Applications can use this registry as a convenience
to provide an overview about parseable formats, e.g.,
in the user interface.
Any custom parser 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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static XParserRegistry instance()
- Retrieves the singleton registry instance.
areEqual
protected boolean areEqual(XParser a,
XParser 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<XParser>
- Parameters:
a
- An instance a.b
- Another instance b.
- Returns:
- Whether the instances a and b are equivalent.