Package org.fugerit.java.doc.mod.fop
Class PdfFopTypeHandler
- java.lang.Object
-
- org.fugerit.java.core.log.BasicLogObject
-
- org.fugerit.java.core.cfg.helpers.AbstractConfigurableObject
-
- org.fugerit.java.core.cfg.helpers.XMLConfigurableObject
-
- org.fugerit.java.doc.base.config.DocTypeHandlerDefault
-
- org.fugerit.java.doc.mod.fop.FreeMarkerFopTypeHandler
-
- org.fugerit.java.doc.mod.fop.PdfFopTypeHandler
-
- All Implemented Interfaces:
Serializable
,org.fugerit.java.core.cfg.ConfigurableObject
,org.fugerit.java.core.log.LogObject
,org.fugerit.java.core.util.collection.KeyObject<String>
,org.fugerit.java.core.util.collection.KeyString
,DocTypeHandler
public class PdfFopTypeHandler extends FreeMarkerFopTypeHandler
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATT_FONT_BASE_CLASSLOADER_PATH
Deprecated.static String
ATT_FOP_CONFIG_CLASSLOADER_PATH
static String
ATT_FOP_CONFIG_MODE
static String
ATT_FOP_CONFIG_MODE_CLASS_LOADER
static String
ATT_FOP_CONFIG_MODE_CLASS_LOADER_LEGACY
Deprecated.static String
ATT_FOP_CONFIG_MODE_DEFAULT
static String
ATT_FOP_CONFIG_RESOLVER_TYPE
static String
ATT_FOP_CONFIG_RESOLVER_TYPE_DEFAULT
static boolean
DEFAULT_ACCESSIBILITY
static boolean
DEFAULT_KEEP_EMPTY_TAGS
static DocTypeHandler
HANDLER
-
Fields inherited from class org.fugerit.java.doc.mod.fop.FreeMarkerFopTypeHandler
ATT_DOCBASE, CHAIN_FREEMARKER, MODULE
-
-
Constructor Summary
Constructors Constructor Description PdfFopTypeHandler()
PdfFopTypeHandler(boolean accessibility, boolean keepEmptyTags)
PdfFopTypeHandler(FopConfig fopConfig, boolean accessibility, boolean keepEmptyTags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Element tag)
FopConfig
getFopConfig()
void
handle(DocInput docInput, DocOutput docOutput)
boolean
isAccessibility()
boolean
isKeepEmptyTags()
void
setFopConfig(FopConfig fopConfig)
-
Methods inherited from class org.fugerit.java.doc.base.config.DocTypeHandlerDefault
createKey, getKey, getMime, getModule, getType
-
-
-
-
Field Detail
-
HANDLER
public static final DocTypeHandler HANDLER
-
ATT_FOP_CONFIG_MODE
public static final String ATT_FOP_CONFIG_MODE
- See Also:
- Constant Field Values
-
ATT_FOP_CONFIG_MODE_DEFAULT
public static final String ATT_FOP_CONFIG_MODE_DEFAULT
- See Also:
- Constant Field Values
-
ATT_FOP_CONFIG_MODE_CLASS_LOADER
public static final String ATT_FOP_CONFIG_MODE_CLASS_LOADER
- See Also:
- Constant Field Values
-
ATT_FOP_CONFIG_MODE_CLASS_LOADER_LEGACY
@Deprecated public static final String ATT_FOP_CONFIG_MODE_CLASS_LOADER_LEGACY
Deprecated.- See Also:
- Constant Field Values
-
ATT_FOP_CONFIG_CLASSLOADER_PATH
public static final String ATT_FOP_CONFIG_CLASSLOADER_PATH
- See Also:
- Constant Field Values
-
ATT_FOP_CONFIG_RESOLVER_TYPE
public static final String ATT_FOP_CONFIG_RESOLVER_TYPE
- See Also:
- Constant Field Values
-
ATT_FOP_CONFIG_RESOLVER_TYPE_DEFAULT
public static final String ATT_FOP_CONFIG_RESOLVER_TYPE_DEFAULT
-
ATT_FONT_BASE_CLASSLOADER_PATH
@Deprecated public static final String ATT_FONT_BASE_CLASSLOADER_PATH
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_ACCESSIBILITY
public static final boolean DEFAULT_ACCESSIBILITY
- See Also:
- Constant Field Values
-
DEFAULT_KEEP_EMPTY_TAGS
public static final boolean DEFAULT_KEEP_EMPTY_TAGS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PdfFopTypeHandler
public PdfFopTypeHandler(FopConfig fopConfig, boolean accessibility, boolean keepEmptyTags)
-
PdfFopTypeHandler
public PdfFopTypeHandler(boolean accessibility, boolean keepEmptyTags)
-
PdfFopTypeHandler
public PdfFopTypeHandler()
-
-
Method Detail
-
handle
public void handle(DocInput docInput, DocOutput docOutput) throws Exception
- Specified by:
handle
in interfaceDocTypeHandler
- Overrides:
handle
in classFreeMarkerFopTypeHandler
- Throws:
Exception
-
isAccessibility
public boolean isAccessibility()
-
isKeepEmptyTags
public boolean isKeepEmptyTags()
-
getFopConfig
public FopConfig getFopConfig()
-
setFopConfig
public void setFopConfig(FopConfig fopConfig)
-
configure
public void configure(Element tag) throws org.fugerit.java.core.cfg.ConfigException
- Specified by:
configure
in interfaceorg.fugerit.java.core.cfg.ConfigurableObject
- Overrides:
configure
in classDocTypeHandlerDefault
- Throws:
org.fugerit.java.core.cfg.ConfigException
-
-