xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Xmlbeans Wiki] Update of "UserTypes" by jordan shoes
Date Mon, 10 Oct 2011 17:04:06 GMT
Dear Wiki user,

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

The "UserTypes" page has been changed by jordan shoes:
http://wiki.apache.org/xmlbeans/UserTypes?action=diff&rev1=72&rev2=73

  == Proposal ==
  
- Xmlbeans provides support for types built into XML Schema. It maps these types to a specific
type hierarchy as well as, for many of these types, providing convenience functions to access
values as more typical Java types. For example, the {{{xsd:string}}} simple type is mapped
to {{{XmlString}}} but objects with string properties will also have a convenience method
to retrieve contents as a standard {{{java.lang.String}}}.
+ Xmlbeans provides support for types built into XML Schema. It maps these types to a specific
type hierarchy as well as, for many of these types, providing convenience functions to access
values as more typical Java types. For example, the {{{xsd:string}}} simple type is mapped
to {{{XmlString}}} but '''[[http://www.cheapjordans.org/| Cheap Jordans|]]''' objects with
string properties will also have a convenience method to retrieve contents as a standard {{{java.lang.String}}}.
  
  This proposal details a mechanism to allow schema code generated by Xmlbeans to provide
custom convenience methods for derived simple types. The developer would provide information
in the xsdconfig file indicating which simple types to generate custom convenience methods
for , the Java type that will be generated, and a static handler that will convert a {{{org.apache.xmlbeans.SimpleValue}}}
to the indicated custom type.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message