Class XmlTransformersFactory


  • public final class XmlTransformersFactory
    extends java.lang.Object

    Class that represents a factory of generators for input and output parameters for web services of @Firma, eVisor and TS@.

    Project:

    @Firma and TS@ Web Services Integration Platform.

    Version:
    1.1, 18/04/2022.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Class<?> getXmlTransformer​(java.lang.String serviceReq, java.lang.String method, java.lang.String type, java.lang.String version)
      Method that obtains the class used to generate the input or output parameter used for a web service.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getXmlTransformer

        public static java.lang.Class<?> getXmlTransformer​(java.lang.String serviceReq,
                                                           java.lang.String method,
                                                           java.lang.String type,
                                                           java.lang.String version)
                                                    throws TransformersException
        Method that obtains the class used to generate the input or output parameter used for a web service.
        Parameters:
        serviceReq - Parameter that represents the name of the web service.
        method - Parameter that represents the name of the method of the web service.
        type - Parameter that represents the type or parameter. The allowed values are:
        • request: For input parameter.
        • response: For output parameter.
        version - Parameter that represents the version of the service.
        Returns:
        the generated class.
        Throws:
        TransformersException - If the method fails.