public class DocHandlerFacade extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_ERROR_ON_DUPLICATE |
static boolean |
DEFAULT_REGISTER_FOR_TYPE |
| Constructor and Description |
|---|
DocHandlerFacade() |
| Modifier and Type | Method and Description |
|---|---|
DocTypeHandler |
findHandler(String id) |
void |
handle(DocInput docInput,
DocOutput docOutput) |
Collection<DocTypeHandler> |
handlers() |
org.fugerit.java.core.util.collection.ListMapStringKey<DocTypeHandler> |
listHandlersForType(String type) |
void |
registerHandler(DocTypeHandler handler) |
void |
registerHandler(DocTypeHandler handler,
boolean registerForType,
boolean errorOnDuplicate) |
public static final boolean DEFAULT_REGISTER_FOR_TYPE
public static final boolean DEFAULT_ERROR_ON_DUPLICATE
public void registerHandler(DocTypeHandler handler, boolean registerForType, boolean errorOnDuplicate) throws Exception
Exceptionpublic void registerHandler(DocTypeHandler handler) throws Exception
Exceptionpublic void handle(DocInput docInput, DocOutput docOutput) throws Exception
Exceptionpublic DocTypeHandler findHandler(String id)
public org.fugerit.java.core.util.collection.ListMapStringKey<DocTypeHandler> listHandlersForType(String type)
public Collection<DocTypeHandler> handlers()
Copyright © 2020 Fugerit. All rights reserved.