Package com.sun.xml.ws.binding
Class FeatureListUtil
java.lang.Object
com.sun.xml.ws.binding.FeatureListUtil
Experimental: Utility methods that operate on WebServiceFeatureLists.
- Author:
- WS Development Team
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isFeatureEnabled
(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 WebServiceFeatureList
mergeList
(WebServiceFeatureList... lists) Merge all features into one list.
-
Constructor Details
-
FeatureListUtil
public FeatureListUtil()
-
-
Method Details
-
mergeList
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
-