Package org.fugerit.java.doc.mod.fop
Class PdfFopTypeHandler
- java.lang.Object
-
- 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.util.collection.KeyObject<String>
,org.fugerit.java.core.util.collection.KeyString
,DocTypeHandler
public class PdfFopTypeHandler extends FreeMarkerFopTypeHandler
- See Also:
- Serialized Form
-
-
Field Summary
-
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 FopConfig
getFopConfig()
void
handle(DocInput docInput, DocOutput docOutput)
protected void
handleConfigTag(Element config)
void
setFopConfig(FopConfig fopConfig)
-
Methods inherited from class org.fugerit.java.doc.base.config.DocTypeHandlerDefault
configure, configure, configureProperties, configureXML, 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.planned for removal in version 1.6 (see https://github.com/fugerit-org/fj-doc/issues/7)- 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_PDF_A_MODE_PDF_A_2A
public static final String ATT_PDF_A_MODE_PDF_A_2A
- See Also:
- Constant Field Values
-
ATT_PDF_A_MODE_PDF_A_3A
public static final String ATT_PDF_A_MODE_PDF_A_3A
- See Also:
- Constant Field Values
-
ATT_PDF_UA_MODE
public static final String ATT_PDF_UA_MODE
- See Also:
- Constant Field Values
-
ATT_PDF_UA_MODE_PDF_UA_1
public static final String ATT_PDF_UA_MODE_PDF_UA_1
- See Also:
- Constant Field Values
-
ATT_FONT_BASE_CLASSLOADER_PATH
@Deprecated public static final String ATT_FONT_BASE_CLASSLOADER_PATH
Deprecated.planned for removal in version 1.6 (see https://github.com/fugerit-org/fj-doc/issues/7)- 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
-
getFopConfig
public FopConfig getFopConfig()
-
setFopConfig
public void setFopConfig(FopConfig fopConfig)
-
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
-
-