Class DSSXmlTransformer

  • All Implemented Interfaces:
    IXmlTransformer

    public class DSSXmlTransformer
    extends java.lang.Object
    implements IXmlTransformer

    Class that transforms input parameters to a XML request for the DSS web services of @Firma.

    Project:

    Library for the integration with the services of @Firma, eVisor and TS@.

    Version:
    1.0, 04/02/2011.
    • Constructor Summary

      Constructors 
      Constructor Description
      DSSXmlTransformer​(java.lang.String svc, java.lang.String methodParam, java.lang.String typ, java.lang.String msgVersion)
      Constructor method for the class DSSXmlTransformer.java.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessageVersion()
      Method that obtains the version of the parameter used to configure the generator.
      java.lang.String getMethod()
      Method that obtains the name of the method to invoke.
      java.lang.String getService()
      Method that obtains the name of the service used to configure the generator.
      java.lang.String getType()
      Method that obtains the type of the parameter to generate (input or output).
      java.lang.Object transform​(java.lang.Object params)
      Method that transforms a structure to an input or output parameter of a web service.
      • Methods inherited from class java.lang.Object

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

      • DSSXmlTransformer

        public DSSXmlTransformer​(java.lang.String svc,
                                 java.lang.String methodParam,
                                 java.lang.String typ,
                                 java.lang.String msgVersion)
        Constructor method for the class DSSXmlTransformer.java.
        Parameters:
        svc - Parameter that represents the DSS service name.
        methodParam - Parameter that represents the method of web service.
        typ - Parameter that represents the type.
        msgVersion - Parameter that represents the message version.
    • Method Detail

      • getService

        public final java.lang.String getService()
        Method that obtains the name of the service used to configure the generator.
        Specified by:
        getService in interface IXmlTransformer
        Returns:
        the name of the service used to configure the generator.
        See Also:
        IXmlTransformer.getService()
      • getType

        public final java.lang.String getType()
        Method that obtains the type of the parameter to generate (input or output). The allowed values are:
        • request: For input parameter.
        • response: For output parameter.
        Specified by:
        getType in interface IXmlTransformer
        Returns:
        the type of the parameter to generate (request or response).
        See Also:
        IXmlTransformer.getType()