fr.opensagres.xdocreport.converter
Class ConverterRegistry
java.lang.Object
fr.opensagres.xdocreport.core.registry.AbstractRegistry<IConverterDiscovery>
fr.opensagres.xdocreport.converter.ConverterRegistry
public class ConverterRegistry
- extends AbstractRegistry<IConverterDiscovery>
IConverter
registry.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConverterRegistry
public ConverterRegistry()
getRegistry
public static ConverterRegistry getRegistry()
findConverter
public IConverter findConverter(Options options)
throws XDocConverterException
- Throws:
XDocConverterException
findConverter
public IConverter findConverter(String from,
String to,
String via)
throws XDocConverterException
- Throws:
XDocConverterException
getConverter
public IConverter getConverter(Options options)
getConverter
public IConverter getConverter(String from,
String to,
String via)
getConverterFrom
public ConverterFrom getConverterFrom(String from)
getFroms
public Set<String> getFroms()
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractRegistry<IConverterDiscovery>
registerInstance
protected boolean registerInstance(IConverterDiscovery discovery)
- Description copied from class:
AbstractRegistry
- Register the instance in the registry.
- Specified by:
registerInstance
in class AbstractRegistry<IConverterDiscovery>
- Returns:
- true if instance cannot be registered and false otherwise.
Copyright © 2013. All rights reserved.