Package javax.wsdl.extensions
Interface AttributeExtensible
- All Known Subinterfaces:
Binding
,BindingFault
,BindingInput
,BindingOperation
,BindingOutput
,Definition
,Fault
,Import
,Input
,Message
,Operation
,Output
,Part
,Port
,PortType
,Service
,Types
,WSDLElement
- All Known Implementing Classes:
AbstractWSDLElement
,BindingFaultImpl
,BindingImpl
,BindingInputImpl
,BindingOperationImpl
,BindingOutputImpl
,DefinitionImpl
,FaultImpl
,ImportImpl
,InputImpl
,MessageImpl
,OperationImpl
,OutputImpl
,PartImpl
,PortImpl
,PortTypeImpl
,ServiceImpl
,TypesImpl
public interface AttributeExtensible
Classes that implement this interface can contain extensibility
attributes.
- Author:
- Matthew J. Duftler, Paul Fremantle
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptiongetExtensionAttribute
(QName name) Retrieve an extension attribute from this element.Get the map containing all the extension attributes defined on this element.Get the list of local attribute names defined for this element in the WSDL specification.void
setExtensionAttribute
(QName name, Object value) Set an extension attribute on this element.
-
Field Details
-
NO_DECLARED_TYPE
static final int NO_DECLARED_TYPE- See Also:
-
STRING_TYPE
static final int STRING_TYPE- See Also:
-
QNAME_TYPE
static final int QNAME_TYPE- See Also:
-
LIST_OF_STRINGS_TYPE
static final int LIST_OF_STRINGS_TYPE- See Also:
-
LIST_OF_QNAMES_TYPE
static final int LIST_OF_QNAMES_TYPE- See Also:
-
-
Method Details
-
setExtensionAttribute
Set an extension attribute on this element. Pass in a null value to remove an extension attribute.- Parameters:
name
- the extension attribute namevalue
- the extension attribute value. Can be a String, a QName, a List of Strings, or a List of QNames.- See Also:
-
getExtensionAttribute
Retrieve an extension attribute from this element. If the extension attribute is not defined, null is returned.- Parameters:
name
- the extension attribute name- Returns:
- the value of the extension attribute, or null if it is not defined. Can be a String, a QName, a List of Strings, or a List of QNames.
- See Also:
-
getExtensionAttributes
Map getExtensionAttributes()Get the map containing all the extension attributes defined on this element. The keys are the qnames of the attributes.- Returns:
- a map containing all the extension attributes defined on this element
- See Also:
-
setExtensionAttribute(javax.xml.namespace.QName, java.lang.Object)
getExtensionAttribute(javax.xml.namespace.QName)
ExtensionRegistry.registerExtensionAttributeType(java.lang.Class, javax.xml.namespace.QName, int)
ExtensionRegistry.queryExtensionAttributeType(java.lang.Class, javax.xml.namespace.QName)
-
getNativeAttributeNames
List getNativeAttributeNames()Get the list of local attribute names defined for this element in the WSDL specification.- Returns:
- a List of Strings, one for each local attribute name
-