Class EVisorUtilCommons


  • public final class EVisorUtilCommons
    extends java.lang.Object

    Utilities for eVisor web services.

    Project:

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

    Version:
    1.0, 15/12/2011.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.Object> newBarcodeMap​(java.lang.String message, java.lang.String type, java.util.Map<java.lang.String,​java.lang.String> configParams)
      Creates a new instance of a Map with all values of a node srsm:Barcode.
      static java.util.Map<?,​?>[] newParameterMap​(java.util.Map<java.lang.String,​java.lang.String> configParams)
      Creates a array with Map objects.
      • Methods inherited from class java.lang.Object

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

      • newBarcodeMap

        public static java.util.Map<java.lang.String,​java.lang.Object> newBarcodeMap​(java.lang.String message,
                                                                                           java.lang.String type,
                                                                                           java.util.Map<java.lang.String,​java.lang.String> configParams)
        Creates a new instance of a Map with all values of a node srsm:Barcode.
        Parameters:
        message - Parameter that represents the bar-code message.
        type - Parameter that represents the type of the bar-code.
        configParams - Parameter that represents the configuration associated to the bar-code.
        Returns:
        a new instance of a Map with all values of a node srsm:Barcode.
      • newParameterMap

        public static java.util.Map<?,​?>[] newParameterMap​(java.util.Map<java.lang.String,​java.lang.String> configParams)
        Creates a array with Map objects. Each Map contains two records:
        • One, with value of srsm:ParameterId parameter.
        • Other, with value of srsm:ParameterValue parameter.
        Parameters:
        configParams - Map with parameters. Parameter name as key, and parameter value as value.
        Returns:
        a array with Map objects.