public class XSLFOFormatterNode extends Node
A Node
that uses a XSL-FO processor (Apache
FOP) to render an XML input stream.
Its worker respects PageCountLimit
s.
Node.Cardinality
Constructor and Description |
---|
XSLFOFormatterNode() |
Modifier and Type | Method and Description |
---|---|
Map<String,Serializable> |
getParameters()
Return the parameters that will be included in the XSL:FO stylesheet.
|
URI |
getStyleSheet()
Get the location of the style sheet.
|
String |
getTargetMimeType()
Get current target mime type.
|
String |
getWorkerClassName()
Return the node's associated
NodeWorker full qualified class's
name. |
void |
setParameters(Map<String,Serializable> parameters)
Set parameters that will be included in the XSL:FO stylesheet
|
void |
setStyleSheet(URI location)
Set the location of style sheet for conversion.
|
void |
setTargetMimeType(String targetMimeType)
Set render type, see
org.apache.fop.apps.MimeConstants for valid mime types. |
protected void |
validateConfiguration() |
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove
public String getTargetMimeType()
public void setTargetMimeType(String targetMimeType)
org.apache.fop.apps.MimeConstants
for valid mime types.targetMimeType
- public URI getStyleSheet()
public void setStyleSheet(URI location)
location
- the style sheet's locationpublic Map<String,Serializable> getParameters()
Transformer.setParameter(String, Object)
public void setParameters(Map<String,Serializable> parameters)
parameters
- values that will be includes in the stylesheetTransformer.setParameter(String, Object)
public String getWorkerClassName()
Node
Return the node's associated
NodeWorker
full qualified class's
name. By default, the worker class name is
This behavior can be overridden in concrete subclasses.
getWorkerClassName
in class Node
protected void validateConfiguration() throws ConfigurationException
validateConfiguration
in class Node
ConfigurationException
Copyright © 2017 levigo holding gmbh. All rights reserved.