Enum McProtocolVersion

    • Field Detail

      • protocolNamespaceUri

        public final String protocolNamespaceUri
        Namespaces
      • policyNamespaceUri

        public final String policyNamespaceUri
      • wsmcAction

        public final String wsmcAction
        Action constants
      • wsmcFaultAction

        public final String wsmcFaultAction
      • messagePendingHeaderName

        public final QName messagePendingHeaderName
        Header names
      • unsupportedSelectionFaultCode

        public final QName unsupportedSelectionFaultCode
        Fault codes
      • missingSelectionFaultCode

        public final QName missingSelectionFaultCode
    • Method Detail

      • values

        public static McProtocolVersion[] 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 (McProtocolVersion c : McProtocolVersion.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static McProtocolVersion 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
      • getDefault

        public static McProtocolVersion getDefault()
        Provides a default reliable messaging version value.
        Returns:
        a default reliable messaging version value. Currently returns WSMC200702.
      • isProtocolAction

        public boolean isProtocolAction​(String wsaAction)
        Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message
        Parameters:
        wsaAction - WS-Addressing action string
        Returns:
        true in case the wsaAction parameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message
      • isFault

        public boolean isFault​(String wsaAction)
        Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault
        Parameters:
        wsaAction - WS-Addressing action string
        Returns:
        true in case the wsaAction parameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault