Class DocHandlerFactory
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,DocHandlerFacade>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static DocHandlerFactorynewInstance(InputStream factoryConfig) Creates and configure an instance of DocHandlerFactorystatic DocHandlerFactorynewInstance(String factoryCatalogPath) Creates and configure an instance of DocHandlerFactorystatic DocHandlerFactorynewInstance(org.fugerit.java.core.cfg.xml.FactoryCatalog catalog) Creates and configure an instance of DocHandlerFactorystatic DocHandlerFacadeCreates and configure an instance of DocHandlerFacade with default catalog id.static DocHandlerFacadeCreates and configure an instance of DocHandlerFacadestatic DocHandlerFacaderegister(Collection<org.fugerit.java.core.cfg.xml.FactoryType> col) Creates and configure an instance of DocHandlerFacadestatic DocHandlerFacaderegister(org.fugerit.java.core.cfg.xml.FactoryCatalog catalog) Creates and configure an instance of DocHandlerFacade with default catalog id.static DocHandlerFacadeCreates and configure an instance of DocHandlerFacadeMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
toString
-
Field Details
-
USE_CATALOG_PROP
- See Also:
-
-
Method Details
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMap<String,DocHandlerFacade> - Overrides:
hashCodein classAbstractMap<String,DocHandlerFacade>
-
equals
- Specified by:
equalsin interfaceMap<String,DocHandlerFacade> - Overrides:
equalsin classAbstractMap<String,DocHandlerFacade>
-
register
Creates and configure an instance of DocHandlerFacade with default catalog id.
NOTE: starting from version 8.4.X java.lang.Exception removed in favor of org.fugerit.java.core.cfg.ConfigRuntimeException.
- Parameters:
factoryCatalogPath- the factory catalog xml path- Returns:
- the configured facade
- See Also:
-
register
Creates and configure an instance of DocHandlerFacade
NOTE: starting from version 8.4.X java.lang.Exception removed in favor of org.fugerit.java.core.cfg.ConfigRuntimeException.
- Parameters:
factoryCatalogPath- the factory catalog xml pathuseCatalog- the catalog id to use- Returns:
- the configured facade
- See Also:
-
register
Creates and configure an instance of DocHandlerFacade
NOTE: starting from version 8.4.X java.lang.Exception removed in favor of org.fugerit.java.core.cfg.ConfigRuntimeException.
- Parameters:
col- the collection of factory type- Returns:
- the configured facade
- See Also:
-
register
Creates and configure an instance of DocHandlerFacade with default catalog id.
NOTE: starting from version 8.4.X java.lang.Exception removed in favor of org.fugerit.java.core.cfg.ConfigRuntimeException.
- Parameters:
catalog- the factory catalog- Returns:
- the doc handler facade
- See Also:
-
register
public static DocHandlerFacade register(org.fugerit.java.core.cfg.xml.FactoryCatalog catalog, String useCatalog) Creates and configure an instance of DocHandlerFacade
NOTE: starting from version 8.4.X java.lang.Exception removed in favor of org.fugerit.java.core.cfg.ConfigRuntimeException.
- Parameters:
catalog- the factory cataloguseCatalog- the catalog id to use to create the facade- Returns:
- the doc handler facade
- See Also:
-
newInstance
Creates and configure an instance of DocHandlerFactory
NOTE: starting from version 8.4.X java.lang.Exception removed in favor of org.fugerit.java.core.cfg.ConfigRuntimeException.
- Parameters:
factoryConfig- a stream on xml configuration document- Returns:
- the configured DocHandlerFactory
- Throws:
org.fugerit.java.core.cfg.ConfigRuntimeException- in case of issues during loading- See Also:
-
newInstance
Creates and configure an instance of DocHandlerFactory
NOTE: starting from version 8.4.X java.lang.Exception removed in favor of org.fugerit.java.core.cfg.ConfigRuntimeException.
- Parameters:
factoryCatalogPath- the path to the factory catalog xml- Returns:
- the configured DocHandlerFactory
- Throws:
org.fugerit.java.core.cfg.ConfigRuntimeException- in case of issues during loading- See Also:
-
newInstance
Creates and configure an instance of DocHandlerFactory
NOTE: starting from version 8.4.X java.lang.Exception removed in favor of org.fugerit.java.core.cfg.ConfigRuntimeException.
- Parameters:
catalog- the factory catalog to use- Returns:
- the configured factory
- See Also:
-
getUseCatalog
-