Class XFC
- java.lang.Object
-
- com.xmlmind.foprocessor.FOProcessorBase
-
- com.xmlmind.xmleditext.xfc_foprocessor.XFC
-
- All Implemented Interfaces:
FOProcessor
public class XFC extends FOProcessorBase
An implementation ofFOProcessorbased on XMLmind XSL-FO Converter.This implementation is thread-safe.
-
-
Field Summary
-
Fields inherited from class com.xmlmind.foprocessor.FOProcessorBase
preferences
-
-
Constructor Summary
Constructors Constructor Description XFC()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns a short (possibly multi-line) description of the XSL-FO processor.StringgetName()Returns the name of the XSL-FO processor.voidprocessFO(URL inURL, File outFile, String[] parameters, Console console)Converts an XSL-FO file to another format.-
Methods inherited from class com.xmlmind.foprocessor.FOProcessorBase
getPreferences, getPreferencesSheet, setPreferences
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:FOProcessorReturns the name of the XSL-FO processor. This name is specified in theprocessorattribute of theprocessFOelement in order to load the FO processor needed by theprocesscommand. Example:<processFO processor="XFC" file="doc.fo" to="doc.rtf"/>.
-
getDescription
public String getDescription()
Description copied from interface:FOProcessorReturns a short (possibly multi-line) description of the XSL-FO processor.
-
processFO
public void processFO(URL inURL, File outFile, String[] parameters, Console console) throws Exception
Description copied from interface:FOProcessorConverts an XSL-FO file to another format.- Parameters:
inURL- the URL of the file containing XSL-FOoutFile- file generated by the XSL-FO processorparameters- contains parameter name/parameter value pairs. These parameters, which are specific to each XSL-FO processor, are specified using theparameterchild element of theprocessFOelement. Example:<parameter name="outputEncoding">Cp1252</parameter>.console- used to report information, warnings and non-fatal errors- Throws:
Exception- if, for any reason, conversion cannot be completed
-
-