public final class FOProcessors extends Object
FOProcessor
s.
This registry is thread-safe.
Modifier and Type | Method and Description |
---|---|
static FOProcessor |
get(String name)
Returns registered FOProcessor having specified name
(case insensitive).
|
static FOProcessor[] |
getAll()
Returns an (possibly empty) array containing
all registered FOProcessors.
|
static String[] |
getAllNames()
Returns an (possibly empty) array containing the names
of all registered FOProcessors.
|
static void |
register(FOProcessor processor)
Registers specified FOProcessor by its name (case insensitive).
|
static void |
setSystemProperties(boolean omitXEP)
Set some system properties to reflect registered XSL-FO processors.
|
public static void register(FOProcessor processor)
FOProcessor.getName()
public static void setSystemProperties(boolean omitXEP)
XSL_FO_PROCESSORS
is needed to implement
ditac and ebookc XSL stylesheets.
XSL_FO_TO_PDF.XEP
and
XSL_FO_TO_PDF.FOP
are needed to implement
the "Convert Document" sub-menu of the DocBook configurations.
omitXEP
- pass false
if RenderX XEP is NOT
to be ignored when it has been registered. This is the normal value.
When both XEP and FOP are installed, by default,
XXE favors XEP and ignores FOP. But this can be changed by the
user preferences. In such case, pass true
.
public static FOProcessor get(String name)
null
if there is no such FOProcessor.public static FOProcessor[] getAll()
The contents of the returned array is sorted by the names of the FOProcessors.
public static String[] getAllNames()
The contents of the returned array is sorted.