public interface WSDLExtensible extends WSDLObject
Modifier and Type | Method and Description |
---|---|
void |
addExtension(WSDLExtension extension)
Adds a new
WSDLExtension
to this object. |
void |
addNotUnderstoodExtension(QName extnEl,
Locator locator)
Marks extension as not understood
|
boolean |
areRequiredExtensionsUnderstood()
True if all required WSDL extensions on Port and Binding are understood
|
<T extends WSDLExtension> |
getExtension(Class<T> type)
Gets the extension that is assignable to the given type.
|
Iterable<WSDLExtension> |
getExtensions()
Gets all the
WSDLExtension s
added through addExtension(WSDLExtension) . |
<T extends WSDLExtension> |
getExtensions(Class<T> type)
Gets all the extensions that is assignable to the given type.
|
List<? extends WSDLExtension> |
getNotUnderstoodExtensions()
Lists extensions marked as not understood
|
getLocation
Iterable<WSDLExtension> getExtensions()
WSDLExtension
s
added through addExtension(WSDLExtension)
.<T extends WSDLExtension> Iterable<T> getExtensions(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(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.boolean areRequiredExtensionsUnderstood()
void addNotUnderstoodExtension(QName extnEl, Locator locator)
extnEl
- QName of extensionlocator
- LocatorList<? extends WSDLExtension> getNotUnderstoodExtensions()
Copyright © 2015 Oracle Corporation. All rights reserved.