Package com.levigo.jadice.server.pdf
Class EmbedAttachmentsNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.pdf.EmbedAttachmentsNode
-
public class EmbedAttachmentsNode extends Node
This node embeds streams as attachments into a given PDF documents.In order to work correctly the PDF into which the streams shall be embedded must be provided as first stream.
- Since:
- jadice server 5.5.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EmbedAttachmentsNode.MissingAttachmentsHandlingMode
Determine which action shall be performed when there is no stream available that can be embedded.-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_FALLBACK_FILENAME
The default value that is used if a stream to be embedded has no file name
-
Constructor Summary
Constructors Constructor Description EmbedAttachmentsNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFallbackFilename()
EmbedAttachmentsNode.MissingAttachmentsHandlingMode
getMissingAttachmentsHandlingMode()
void
setFallbackFilename(String fallbackFilename)
void
setMissingAttachmentsHandlingMode(EmbedAttachmentsNode.MissingAttachmentsHandlingMode missingAttachmentsHandlingMode)
Set the attribute that determines which action shall be performed when there is no stream available that can be embedded.-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, getWorkerClassName, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Field Detail
-
DEFAULT_FALLBACK_FILENAME
public static final String DEFAULT_FALLBACK_FILENAME
The default value that is used if a stream to be embedded has no file name- See Also:
- Constant Field Values
-
-
Method Detail
-
getFallbackFilename
public String getFallbackFilename()
- Returns:
- the value that shall be used if a stream to be embedded has no
file name in its
StreamDescriptor
-
setFallbackFilename
public void setFallbackFilename(String fallbackFilename)
-
getMissingAttachmentsHandlingMode
public EmbedAttachmentsNode.MissingAttachmentsHandlingMode getMissingAttachmentsHandlingMode()
-
setMissingAttachmentsHandlingMode
public void setMissingAttachmentsHandlingMode(EmbedAttachmentsNode.MissingAttachmentsHandlingMode missingAttachmentsHandlingMode)
Set the attribute that determines which action shall be performed when there is no stream available that can be embedded.- Parameters:
missingAttachmentsHandlingMode
- action that shall be performed when there is no stream available that can be embedded.
-
-