Class DumperRegistry

java.lang.Object
fr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery>
fr.opensagres.xdocreport.document.dump.DumperRegistry

public class DumperRegistry extends fr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery>
IDumper registry.
  • Constructor Details

    • DumperRegistry

      public DumperRegistry()
  • Method Details

    • getRegistry

      public static DumperRegistry getRegistry()
      Returns the dumper registry instance.
      Returns:
    • findDumper

      public IDumper findDumper(String kind) throws fr.opensagres.xdocreport.core.XDocReportException
      Returns the dumper registered with the given kind in the registry.
      Parameters:
      kind - the dumper kind.
      Returns:
      Throws:
      fr.opensagres.xdocreport.core.XDocReportException - thrown when the dumper is not found.
    • getDumper

      public IDumper getDumper(String kind)
      Returns the dumper registered with the given kind in the registry and null otherwise.
      Parameters:
      options -
      Returns:
    • getKinds

      public Set<String> getKinds()
      Returns teh list of the dumper kind registered in the registry.
      Returns:
    • doDispose

      protected void doDispose()
      Specified by:
      doDispose in class fr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery>
    • registerInstance

      protected boolean registerInstance(IDumperDiscovery discovery)
      Specified by:
      registerInstance in class fr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery>