Reference xsd documentation for Venus - Fugerit Document Generation Framework (fj-doc) - Freemarker Configuration 1.0.0

Elements configuration reference
Element Description Children
freemarker-doc-process-config This is the root element of freemarker-doc-process configuration file ( docHandlerConfig , docChain ) [1-1]
docHandlerConfig Configuration for DocHandlerFacade containing all needed DocTypeHandlers ( docHandler ) [1-1]
docHandler Configuration of a specific DocTypeHandler as FactoryType ( docHandlerCustomConfig ) [1-1]
docHandlerCustomConfig Custom configuration of a doc handler, it can contains unchecked attributes and child elements. ( ) [1-1]
docChain A document processing chain ( chainStep ) [1-1]
chainStep A step in a docChain ( config | function | map ) [1-1]
config Will creates a new free marker configuration
function The data of a freemarker function to map (the 'name' attributes will be the key, and a new instance of the 'value' attribute as value)
map An object will be mapped from DocProcessContext to Freemarker Map (the 'name' attributes will be the key, and the 'value' will be used to search in the DocProcessContext attributes)

top
Element : freemarker-doc-process-config
This is the root element of freemarker-doc-process configuration file
Attribute Description Note
This element does not have attributes

top
Element : docHandlerConfig
Configuration for DocHandlerFacade containing all needed DocTypeHandlers
Attribute Description Note
registerById If set to true, the handlers will be registered by id boolean
allowDuplicatedId If set to true, duplicated id will be allowed (the last one will overwrite the others) boolean

top
Element : docHandler
Configuration of a specific DocTypeHandler as FactoryType
Attribute Description Note
id Id of the handler string
info Type of the handler string
type Type of the handler (fully qualified class name implementing DocTypeHandler) string
unsafe 'true' is the handler is too be considered unsafe boolean
unsafeMode Unsafe handling message, ( 'log-message' for simple message or 'log-trace' for full trace) string

top
Element : docHandlerCustomConfig
Custom configuration of a doc handler, it can contains unchecked attributes and child elements.
Attribute Description Note
This element does not have attributes

top
Element : docChain
A document processing chain
Attribute Description Note
id A chain ID string
parent A chain parent (will inherits all the chainStep) string

top
Element : chainStep
A step in a docChain
Attribute Description Note
stepType Can be a java type value implementing DocProcessorBasic or a fixed value for 'config', 'map', 'function', 'complex' string
map-atts Comma separated list of attributes to map or 'map-all' to map all attributes string
map-all 'true' if all attributes must be mapped. default 'false'. boolean
template-path Free marker template path string

top
Element : config
Will creates a new free marker configuration
Attribute Description Note
id The new freemarker configuration ID string
path base freemarker template path string
version freemarker version to use string
mode The class loading mode string
class This class's classloader will be used string
exception-handler Just a referenced to the relevant freemarker configuration string
log-exception Just a referenced to the relevant freemarker configuration boolean
wrap-unchecked-exceptions Just a referenced to the relevant freemarker configuration boolean
fallback-on-null-loop-variable Just a referenced to the relevant freemarker configuration boolean

top
Element : function
The data of a freemarker function to map (the 'name' attributes will be the key, and a new instance of the 'value' attribute as value)
Attribute Description Note
name Name map attribute string
value Value map attribute string

top
Element : map
An object will be mapped from DocProcessContext to Freemarker Map (the 'name' attributes will be the key, and the 'value' will be used to search in the DocProcessContext attributes)
Attribute Description Note
name Name map attribute string
value Value map attribute string