com.sun.xml.ws.binding
Class FeatureListUtil

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

public class FeatureListUtil
extends java.lang.Object

Experimental: Utility methods that operate on WebServiceFeatureLists.


Constructor Summary
FeatureListUtil()
           
 
Method Summary
static boolean isFeatureEnabled(java.lang.Class<? extends javax.xml.ws.WebServiceFeature> featureType, WebServiceFeatureList list1, WebServiceFeatureList list2)
           
static
<F extends javax.xml.ws.WebServiceFeature>
F
mergeFeature(java.lang.Class<F> featureType, WebServiceFeatureList list1, WebServiceFeatureList list2)
           
static WebServiceFeatureList mergeList(WebServiceFeatureList... lists)
          Merge all features into one list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 javax.xml.ws.WebServiceFeature> F mergeFeature(@NotNull
                                                                                 java.lang.Class<F> featureType,
                                                                                 @Nullable
                                                                                 WebServiceFeatureList list1,
                                                                                 @Nullable
                                                                                 WebServiceFeatureList list2)
                                                             throws javax.xml.ws.WebServiceException
Throws:
javax.xml.ws.WebServiceException

isFeatureEnabled

public static boolean isFeatureEnabled(@NotNull
                                       java.lang.Class<? extends javax.xml.ws.WebServiceFeature> featureType,
                                       @Nullable
                                       WebServiceFeatureList list1,
                                       @Nullable
                                       WebServiceFeatureList list2)
                                throws javax.xml.ws.WebServiceException
Throws:
javax.xml.ws.WebServiceException


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.