Class FeatureListUtil


  • public class FeatureListUtil
    extends Object
    Experimental: Utility methods that operate on WebServiceFeatureLists.
    Author:
    WS Development Team
    • Constructor Detail

      • FeatureListUtil

        public FeatureListUtil()
    • 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