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 String
ATT_PDF_A_MODE
static String
ATT_PDF_A_MODE_PDF_A_1A
static String
ATT_PDF_A_MODE_PDF_A_1B
static boolean
DEFAULT_ACCESSIBILITY
static boolean
DEFAULT_KEEP_EMPTY_TAGS
static DocTypeHandler
HANDLER
static List<String>
VALID_PDF_A_MODES
-
Fields inherited from class org.fugerit.java.doc.mod.fop.FreeMarkerFopTypeHandler
ATT_DOCBASE, CHAIN_FREEMARKER, HANDLER_UTF8, MODULE
-
Fields inherited from class org.fugerit.java.doc.base.config.DocTypeHandlerDefault
ATT_NAME_CHARSET, TAG_NAME_CONFIG, TAG_NAME_CONFIG_ALT
-
-
Constructor Summary
Constructors Constructor Description PdfFopTypeHandler()
PdfFopTypeHandler(boolean accessibility, boolean keepEmptyTags)
PdfFopTypeHandler(Charset charset)
PdfFopTypeHandler(Charset charset, boolean accessibility, boolean keepEmptyTags)
PdfFopTypeHandler(Charset charset, FopConfig fopConfig)
PdfFopTypeHandler(Charset charset, FopConfig fopConfig, 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
handle(DocInput docInput, DocOutput docOutput)
protected void
handleConfigTag(Element config)
-
Methods inherited from class org.fugerit.java.doc.base.config.DocTypeHandlerDefault
configure, createKey, getCharset, getFormat, getKey, getMime, getModule, getType, setFormat, toString
-
-
-
-
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_PDF_A_MODE
public static final String ATT_PDF_A_MODE
- See Also:
- Constant Field Values
-
ATT_PDF_A_MODE_PDF_A_1A
public static final String ATT_PDF_A_MODE_PDF_A_1A
- See Also:
- Constant Field Values
-
ATT_PDF_A_MODE_PDF_A_1B
public static final String ATT_PDF_A_MODE_PDF_A_1B
- See Also:
- Constant Field Values
-
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(Charset charset, FopConfig fopConfig, boolean accessibility, boolean keepEmptyTags)
-
PdfFopTypeHandler
public PdfFopTypeHandler(FopConfig fopConfig, boolean accessibility, boolean keepEmptyTags)
-
PdfFopTypeHandler
public PdfFopTypeHandler(Charset charset, boolean accessibility, boolean keepEmptyTags)
-
PdfFopTypeHandler
public PdfFopTypeHandler(Charset charset)
-
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
-
handleConfigTag
protected void handleConfigTag(Element config) throws org.fugerit.java.core.cfg.ConfigException
- Overrides:
handleConfigTag
in classDocTypeHandlerDefault
- Throws:
org.fugerit.java.core.cfg.ConfigException
-
-