Package com.levigo.jadice.server.xml
Class XSLTransformationNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.xml.XSLTransformationNode
-
public class XSLTransformationNode extends Node
ANode
that performs an XSL transformation (XML to XML) with any incomingStream
.In order to perform such a transformation, a
stylesheet
must be provided.- Since:
- jadice server 4.3.1.2
- See Also:
Transformer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description XSLTransformationNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Serializable>
getParameters()
Return the parameters that will be included in the XSLT stylesheet.URI
getStyleSheet()
Get the location of the style sheet.String
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name.void
setParameters(Map<String,Serializable> parameters)
Set parameters that will be included in the XSLTs stylesheetvoid
setStyleSheet(URI location)
Set the location of style sheet for conversion.protected void
validateConfiguration()
-
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
-
-
-
-
Method Detail
-
getStyleSheet
public URI getStyleSheet()
Get the location of the style sheet.- Returns:
- the location of the style sheet
-
setStyleSheet
public void setStyleSheet(URI location)
Set the location of style sheet for conversion.- Parameters:
location
- the style sheet's location
-
getParameters
public Map<String,Serializable> getParameters()
Return the parameters that will be included in the XSLT stylesheet.- Returns:
- parameters to include in the stylesheet
- See Also:
Transformer.setParameter(String, Object)
-
setParameters
public void setParameters(Map<String,Serializable> parameters)
Set parameters that will be included in the XSLTs stylesheet- Parameters:
parameters
- values that will be includes in the stylesheet- See Also:
Transformer.setParameter(String, Object)
-
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.
-
validateConfiguration
protected void validateConfiguration() throws ConfigurationException
- Overrides:
validateConfiguration
in classNode
- Throws:
ConfigurationException
-
-