Package com.sun.xml.ws.binding
Class FeatureListUtil
- java.lang.Object
-
- com.sun.xml.ws.binding.FeatureListUtil
-
public class FeatureListUtil extends Object
Experimental: Utility methods that operate on WebServiceFeatureLists.- Author:
- WS Development Team
-
-
Constructor Summary
Constructors Constructor Description FeatureListUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisFeatureEnabled(Class<? extends jakarta.xml.ws.WebServiceFeature> featureType, WebServiceFeatureList list1, WebServiceFeatureList list2)static <F extends jakarta.xml.ws.WebServiceFeature>
FmergeFeature(Class<F> featureType, WebServiceFeatureList list1, WebServiceFeatureList list2)static WebServiceFeatureListmergeList(WebServiceFeatureList... lists)Merge all features into one list.
-
-
-
Method Detail
-
mergeList
@NotNull public static WebServiceFeatureList mergeList(WebServiceFeatureList... lists)
Merge all features into one list. Returns an empty list if no lists were passed as parameter.- Parameters:
lists- The WebServiceFeatureLists.- Returns:
- A new WebServiceFeatureList that contains all features.
-
mergeFeature
@Nullable public static <F extends jakarta.xml.ws.WebServiceFeature> F mergeFeature(@NotNull Class<F> featureType, @Nullable WebServiceFeatureList list1, @Nullable WebServiceFeatureList list2) throws jakarta.xml.ws.WebServiceException
- Throws:
jakarta.xml.ws.WebServiceException
-
isFeatureEnabled
public static boolean isFeatureEnabled(@NotNull Class<? extends jakarta.xml.ws.WebServiceFeature> featureType, @Nullable WebServiceFeatureList list1, @Nullable WebServiceFeatureList list2) throws jakarta.xml.ws.WebServiceException
- Throws:
jakarta.xml.ws.WebServiceException
-
-