Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by JohnKaputin:
http://wiki.apache.org/ws/FrontPage/Woden/WSDLExtensions

The comment on the change is:
added notes on extension attributes and org.apache.woden.xml

------------------------------------------------------------------------------
   * {{{ComponentExtensions}}}
   * {{{ExtensionRegistry}}}
  
+ WSDL extension attributes are represented in the Woden API by the interfaces 
defined in package {{{org.apache.woden.xml}}}. These interfaces declare methods 
to convert the string values of attributes into the appropriate Java types and 
to query the original string content. When an extension attribute is registered 
in the extension registry, an implementation of one of these interfaces is 
registered as the 'handler' which deserializes it into a Java type and stores 
both the original string value and the typed Java object.
- WSDL extension attributes are represented in the Woden API by the interfaces 
defined in Package {{{org.apache.woden.xml}}}:
-  * {{{XMLAttr}}}
-  * {{{BooleanAttr}}}
-  * {{{StringAttr}}}
-  * {{{URIAttr}}}
-  * {{{QNameAttr}}}
-  * {{{QNameOrTokenAttr}}}
-  * {{{QNameListAttr}}}
-  * {{{QNameListOrTokenAttr}}}
-  * {{{UnknownAttr}}} used to represent extension attributes that have not 
been registered (i.e. are unknown). Just returns the attribute value as a 
java.lang.Object.
  
+ The attribute interfaces currently defined in package 
{{{org.apache.woden.xml}}} are: 
+  * {{{XMLAttr}}} a super type for all XML attribute types, it defines common 
methods for converting an attribute from a string value into a specific Java 
type.
+  * {{{BooleanAttr}}} converts an attribute of type ''xs:boolean'' to 
{{{java.lang.Boolean}}}
+  * {{{StringAttr}}} converts an attribute of type ''xs:string'' to 
{{{java.lang.String}}}
+  * {{{URIAttr}}} converts an attribute of type ''xs:anyURI'' to 
{{{java.net.URI}}}
+  * {{{QNameAttr}}} converts an attribute of type ''xs:QName'' to 
{{{javax.xml.namespace.QName}}}
+  * {{{QNameListAttr}}} converts an attribute of type ''list of xs:QName'' to 
a {{{javax.xml.namespace.QName}}} array
+  * {{{QNameOrTokenAttr}}} converts an attribute of type ''union of xs:QName 
and xs:token'' to either a {{{QName}}} or a {{{String}}} and provides methods 
to query the type.
+  * {{{QNameListOrTokenAttr}}} converts an attribute of type ''union of List 
of xs:QName and xs:token'' to either a {{{QName}}} array or a {{{String}}} and 
provides methods to query the type.
+  * {{{UnknownAttr}}} An implementation of XMLAttr used for extension 
attributes that have not been registered (i.e. whose type is unknown). Returns 
the attribute's string value, but does not attempt to convert it into a 
specific Java type.
+ 
- The interfaces currently in {{{org.apache.woden.xml}}} represent just the XML 
types for the 'known' extension attributes, as defined for SOAP and HTTP 
bindings in the WSDL 2.0 Part 2 Adjuncts spec. Obviously, this package needs to 
be expanded to cater for any possible attribute types that might appear in 
user-defined extensions as well. There is a 'todo' in the Woden TaskList wiki 
page to look into this.
+ The interfaces currently in {{{org.apache.woden.xml}}} represent just the XML 
types for the 'known' extension attributes, as defined for SOAP and HTTP 
bindings in the WSDL 2.0 Part 2 Adjuncts spec. Obviously, this package needs to 
be expanded to cater for any possible attribute types that might appear in 
user-defined extensions as well. There is a 'todo' in the Woden TaskList wiki 
page about this.
  
  == SOAP Binding Extensions ==
  

Reply via email to