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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureListUtil
public FeatureListUtil()
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 WebServiceFeature> F mergeFeature(@NotNull
Class<F> featureType,
@Nullable
WebServiceFeatureList list1,
@Nullable
WebServiceFeatureList list2)
throws WebServiceException
- Throws:
WebServiceException
isFeatureEnabled
public static boolean isFeatureEnabled(@NotNull
Class<? extends WebServiceFeature> featureType,
@Nullable
WebServiceFeatureList list1,
@Nullable
WebServiceFeatureList list2)
throws WebServiceException
- Throws:
WebServiceException
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.