Class FeatureListUtil

java.lang.Object
com.sun.xml.ws.binding.FeatureListUtil

public final class FeatureListUtil extends Object
Experimental: Utility methods that operate on WebServiceFeatureLists.
Author:
WS Development Team
  • Method Details

    • 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