Class ReshapeNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.documentplatform.ReshapeNode
-
public class ReshapeNode extends Node
A node used to apply document format conversions and other processing using the jadice document platform.Its worker respects
PageCountLimits.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReshapeNode.AnnotationMimeTypesAs it is not possible to determine an annotation type automatically, its MIME type must be provided in the annotation'sStreamDescriptor.static classReshapeNode.OutputModeEnum controlling when and how output data streams are generated.-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description ReshapeNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReshapeNode.OutputModegetOutputMode()Returns current output mode.ReshapeControlsgetReshapeControls()StringgetTargetMimeType()StringgetWorkerClassName()Return the node's associatedcom.levigo.jadice.server.core.NodeWorkerfull qualified class's name.voidsetOutputMode(ReshapeNode.OutputMode outputMode)Set output modeReshapeNode.OutputModefor stream generation.voidsetReshapeControls(ReshapeControls controls)voidsetTargetMimeType(String targetMimeType)Set the desired target MIME-type.-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getInputCardinality, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:NodeReturn the node's associatedcom.levigo.jadice.server.core.NodeWorkerfull qualified class's name. By default, the worker class name is- The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
- The node class name with an appended "Worker" otherwise.
This behavior can be overridden in concrete subclasses.
- Overrides:
getWorkerClassNamein classNode- Returns:
- the full qualified class name of the worker of this node.
-
getTargetMimeType
public String getTargetMimeType()
- Returns:
- the desired target MIME-type
-
setTargetMimeType
public void setTargetMimeType(String targetMimeType)
Set the desired target MIME-type. The types currently supported areapplication/pdfandimage/tiff.- Parameters:
targetMimeType- the desired target MIME-type
-
getOutputMode
public ReshapeNode.OutputMode getOutputMode()
Returns current output mode.- Returns:
- Current output mode
-
setOutputMode
public void setOutputMode(ReshapeNode.OutputMode outputMode)
Set output modeReshapeNode.OutputModefor stream generation.- Parameters:
outputMode- Output mode
-
setReshapeControls
public void setReshapeControls(ReshapeControls controls)
-
getReshapeControls
public ReshapeControls getReshapeControls()
-
-