Enum ProtocolVariation

    • Method Detail

      • values

        public static ProtocolVariation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ProtocolVariation c : ProtocolVariation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ProtocolVariation valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getWSRMNamespace

        public String getWSRMNamespace()
      • getWSANamespace

        public String getWSANamespace()
      • findVariant

        public static ProtocolVariation findVariant​(String wsrm,
                                                    String wsa)
        Get the information for a supported version of WS-ReliableMessaging and WS-Addressing. If the WS-A namespace is not specified this just returns the first match on the WS-RM namespace, which should always be the default.
        Parameters:
        wsrm - WS-RM namespace URI
        wsa - WS-A namespace URI (null if not specified)
        Returns:
        variant (null if not a supported version)