Package com.levigo.jadice.server.nodes
Class SeparatorPageNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.nodes.SeparatorPageNode
-
public class SeparatorPageNode extends Node
The SeparatorPageNode interleaves the streams passing through it with generated pages which can be used as separator pages in an aggregated document etc.The pages are generated by converting the stream metadata (i.e. the
StreamDescriptor
s) to XML. This XML is transformed by applying an XSLT stylesheet which transforms the XML into XSL:FO and subsequently rendering the XSL:FO into the desired output format using theXSLFOFormatterNode
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SeparatorPageNode.SeparatorPlacement
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Field Summary
Fields Modifier and Type Field Description static URI
DEFAULT_STYLE_SHEET
-
Constructor Summary
Constructors Constructor Description SeparatorPageNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SeparatorPageNode.SeparatorPlacement
getSeparatorPlacement()
URI
getStylesheet()
String
getTargetMimeType()
Get the selected target MIME typeString
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name.void
setSeparatorPlacement(SeparatorPageNode.SeparatorPlacement separatorPlacement)
void
setStylesheetURL(URI location)
void
setTargetMimeType(String targetMimeType)
Set the 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
-
-
-
-
Field Detail
-
DEFAULT_STYLE_SHEET
public static final URI DEFAULT_STYLE_SHEET
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:Node
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full 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:
getWorkerClassName
in classNode
- Returns:
- the full qualified class name of the worker of this node.
-
getTargetMimeType
public String getTargetMimeType()
Get the selected target MIME type- Returns:
- selected target MIME type
-
setTargetMimeType
public void setTargetMimeType(String targetMimeType)
Set the target MIME type.- Parameters:
targetMimeType
- the target MIME type
-
getStylesheet
public URI getStylesheet()
-
setStylesheetURL
public void setStylesheetURL(URI location)
-
getSeparatorPlacement
public SeparatorPageNode.SeparatorPlacement getSeparatorPlacement()
-
setSeparatorPlacement
public void setSeparatorPlacement(SeparatorPageNode.SeparatorPlacement separatorPlacement)
-
-