Class WsDiscoveryUtil
-
- All Implemented Interfaces:
public class WsDiscoveryUtilUtility class for the WS-Discovery plugin.
-
-
Method Summary
Modifier and Type Method Description booleanisTypesMatching(List<QName> superset, List<QName> subset)Checks if a QName superset includes a subset. booleanisScopesMatching(List<String> superset, List<String> subset, MatchBy matchBy)Checks if a scope superset includes a subset. AppSequenceTypecreateAppSequence(UnsignedInteger instanceId)Creates an app sequence based on a given instance id. -
-
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.
-
-
-
-