Class WsDiscoveryUtil

  • All Implemented Interfaces:

    
    public class WsDiscoveryUtil
    
                        

    Utility class for the WS-Discovery plugin.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      boolean isTypesMatching(List<QName> superset, List<QName> subset) Checks if a QName superset includes a subset.
      boolean isScopesMatching(List<String> superset, List<String> subset, MatchBy matchBy) Checks if a scope superset includes a subset.
      AppSequenceType createAppSequence(UnsignedInteger instanceId) Creates an app sequence based on a given instance id.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • isTypesMatching

         boolean isTypesMatching(List<QName> superset, List<QName> subset)

        Checks if a QName superset includes a subset.

        Parameters:
        superset - the superset to match against.
        subset - the subset to match against.
        Returns:

        true if subset is in superset or subset is equal to superset, otherwise false.

      • isScopesMatching

         boolean isScopesMatching(List<String> superset, List<String> subset, MatchBy matchBy)

        Checks if a scope superset includes a subset.

        Parameters:
        superset - the superset to match against.
        subset - the subset to match against.
        matchBy - the rule how to compare the URI strings.
        Returns:

        true if subset is in superset or subset is equal to superset given a matching algorithm in matchBy, otherwise false. If the matching algorithm is not supported, this method always returns false.

      • createAppSequence

         AppSequenceType createAppSequence(UnsignedInteger instanceId)

        Creates an app sequence based on a given instance id.

        Parameters:
        instanceId - the instance id to create the app sequence from.
        Returns:

        an app sequence that includes the given instance id and an unsigned integer that is incremented with every method request of a specific instance of WsDiscoveryUtil.