com.sun.xml.ws.api
Interface WSFeatureList

All Superinterfaces:
Iterable<javax.xml.ws.WebServiceFeature>
All Known Implementing Classes:
WebServiceFeatureList

public interface WSFeatureList
extends Iterable<javax.xml.ws.WebServiceFeature>

Read-only list of WebServiceFeatures.


Method Summary
<F extends javax.xml.ws.WebServiceFeature>
F
get(Class<F> featureType)
          Gets a WebServiceFeature of the specific type.
 boolean isEnabled(Class<? extends javax.xml.ws.WebServiceFeature> feature)
          Checks if a particular WebServiceFeature is enabled.
 javax.xml.ws.WebServiceFeature[] toArray()
          Obtains all the features in the array.
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

isEnabled

boolean isEnabled(@NotNull
                  Class<? extends javax.xml.ws.WebServiceFeature> feature)
Checks if a particular WebServiceFeature is enabled.

Returns:
true if enabled.

get

@Nullable
<F extends javax.xml.ws.WebServiceFeature> F get(@NotNull
                                                          Class<F> featureType)
Gets a WebServiceFeature of the specific type.

Parameters:
featureType - The type of the feature to retrieve.
Returns:
If the feature is present and enabled, return a non-null instance. Otherwise null.

toArray

@NotNull
javax.xml.ws.WebServiceFeature[] toArray()
Obtains all the features in the array.