|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSDLExtensible
Interface that represents WSDL concepts that can have extensions.
Method Summary | ||
---|---|---|
void |
addExtension(WSDLExtension extension)
Adds a new WSDLExtension
to this object. |
|
|
getExtension(java.lang.Class<T> type)
Gets the extension that is assignable to the given type. |
|
java.lang.Iterable<WSDLExtension> |
getExtensions()
Gets all the WSDLExtension s
added through addExtension(WSDLExtension) . |
|
|
getExtensions(java.lang.Class<T> type)
Gets all the extensions that is assignable to the given type. |
Methods inherited from interface com.sun.xml.ws.api.model.wsdl.WSDLObject |
---|
getLocation |
Method Detail |
---|
java.lang.Iterable<WSDLExtension> getExtensions()
WSDLExtension
s
added through addExtension(WSDLExtension)
.
<T extends WSDLExtension> java.lang.Iterable<T> getExtensions(java.lang.Class<T> type)
This allows clients to find specific extensions in a type-safe and convenient way.
type
- The type of the extension to obtain. Must not be null.
<T extends WSDLExtension> T getExtension(java.lang.Class<T> type)
This is just a convenient version that does
Iterator itr = getExtensions(type); if(itr.hasNext()) return itr.next(); else return null;
void addExtension(WSDLExtension extension)
WSDLExtension
to this object.
extension
- must not be null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |