com.sun.xml.ws.model.wsdl
Class AbstractFeaturedObjectImpl

java.lang.Object
  extended by com.sun.xml.ws.model.wsdl.AbstractObjectImpl
      extended by com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
          extended by com.sun.xml.ws.model.wsdl.AbstractFeaturedObjectImpl
All Implemented Interfaces:
WSDLExtensible, WSDLFeaturedObject, WSDLObject
Direct Known Subclasses:
WSDLBoundPortTypeImpl, WSDLPortImpl

abstract class AbstractFeaturedObjectImpl
extends AbstractExtensibleImpl
implements WSDLFeaturedObject


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
AbstractExtensibleImpl.UnknownWSDLExtension
 
Field Summary
protected  WebServiceFeatureList features
           
 
Fields inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
extensions, notUnderstoodExtensions
 
Constructor Summary
protected AbstractFeaturedObjectImpl(String systemId, int lineNumber)
           
protected AbstractFeaturedObjectImpl(javax.xml.stream.XMLStreamReader xsr)
           
 
Method Summary
 void addFeature(javax.xml.ws.WebServiceFeature feature)
          Enables a WebServiceFeature based upon policy assertions on this port.
<F extends javax.xml.ws.WebServiceFeature>
F
getFeature(Class<F> featureType)
           
 javax.xml.ws.WebServiceFeature getFeature(String id)
           
 WebServiceFeatureList getFeatures()
          Gets the feature list associated with this object.
 
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractExtensibleImpl
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions
 
Methods inherited from class com.sun.xml.ws.model.wsdl.AbstractObjectImpl
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject
getLocation
 

Field Detail

features

protected WebServiceFeatureList features
Constructor Detail

AbstractFeaturedObjectImpl

protected AbstractFeaturedObjectImpl(javax.xml.stream.XMLStreamReader xsr)

AbstractFeaturedObjectImpl

protected AbstractFeaturedObjectImpl(String systemId,
                                     int lineNumber)
Method Detail

addFeature

public final void addFeature(javax.xml.ws.WebServiceFeature feature)
Description copied from interface: WSDLFeaturedObject
Enables a WebServiceFeature based upon policy assertions on this port. This method would be called during WSDL parsing by WS-Policy code.

Specified by:
addFeature in interface WSDLFeaturedObject

getFeatures

@NotNull
public WebServiceFeatureList getFeatures()
Description copied from interface: WSDLFeaturedObject
Gets the feature list associated with this object.

Specified by:
getFeatures in interface WSDLFeaturedObject

getFeature

public final javax.xml.ws.WebServiceFeature getFeature(String id)

getFeature

@Nullable
public <F extends javax.xml.ws.WebServiceFeature> F getFeature(@NotNull
                                                                        Class<F> featureType)
Specified by:
getFeature in interface WSDLFeaturedObject