org.ow2.petals.se.xslt.model
Class XsltConfiguration

java.lang.Object
  extended by org.ow2.petals.se.xslt.model.XsltConfiguration

public class XsltConfiguration
extends java.lang.Object

A bean to store configuration elements for XSLT service-unit.

Author:
Vincent Zurczak - EBM WebSourcing

Constructor Summary
XsltConfiguration(java.lang.String xslPath, java.lang.String transformerFactoryClassName, int transformerPoolSizeMin, int transformerPoolSizeMax, java.lang.String suInstallRoot, java.lang.String outputAttachmentName, java.lang.String endpointName, java.lang.String serviceUnitName, java.util.Map<java.lang.String,XslParameterBean> paramNameToParamBean)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getEndpointName()
           
 java.lang.String getOutputAttachmentName()
           
 java.util.Map<java.lang.String,XslParameterBean> getParamNameToParamBean()
           
 java.lang.String getServiceUnitName()
           
 java.lang.String getSuInstallRoot()
           
 java.lang.String getTransformerFactoryClassName()
           
 int getTransformerPoolSizeMax()
           
 int getTransformerPoolSizeMin()
           
 java.lang.String getXslPath()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsltConfiguration

public XsltConfiguration(java.lang.String xslPath,
                         java.lang.String transformerFactoryClassName,
                         int transformerPoolSizeMin,
                         int transformerPoolSizeMax,
                         java.lang.String suInstallRoot,
                         java.lang.String outputAttachmentName,
                         java.lang.String endpointName,
                         java.lang.String serviceUnitName,
                         java.util.Map<java.lang.String,XslParameterBean> paramNameToParamBean)
Constructor.

Parameters:
xslPath - the XSL path
transformerFactoryClassName - the transformer factory class name
suInstallRoot - the path of the SU root directory
outputAttachmentName - the output attachment's name
endpointName - the end-point name
serviceUnitName - the service-unit name
paramNameToParamBean - the XSL parameters as a non-null map

key = parameter name, value = parameter bean

Method Detail

getXslPath

public java.lang.String getXslPath()
Returns:
the xslPath

getTransformerFactoryClassName

public java.lang.String getTransformerFactoryClassName()
Returns:
the transformerFactoryClassName

getTransformerPoolSizeMin

public int getTransformerPoolSizeMin()
Returns:
the transformerPoolSizeMin

getTransformerPoolSizeMax

public int getTransformerPoolSizeMax()
Returns:
the transformerPoolSizeMax

getSuInstallRoot

public java.lang.String getSuInstallRoot()
Returns:
the suInstallRoot

getOutputAttachmentName

public java.lang.String getOutputAttachmentName()
Returns:
the outputAttachmentName

getEndpointName

public java.lang.String getEndpointName()
Returns:
the endpointName

getServiceUnitName

public java.lang.String getServiceUnitName()
Returns:
the serviceUnitName

getParamNameToParamBean

public java.util.Map<java.lang.String,XslParameterBean> getParamNameToParamBean()
Returns:
the map that associates (XSL) parameter names to (XSL) parameter beans

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.