DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12713>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12713

problem when generating java code for xsd:simpleType using WSDL2Java





------- Additional Comments From [EMAIL PROTECTED]  2002-09-17 14:07 -------
You could start with JavaBeanWriter, but this isn't really a bean, so a better 
approach might be to create another writer altogether - say 
JavaSimpleTypeWriter? - which looks a lot like JavaBeanWriter but handles 
restrictions.  That way the JavaBeanWriter doesn't get cluttered with 
simpleType code that complexType beans will never need.  JavaTypeWriter would 
then have to determine between 3 Java writers instead of two:  JavaBeanWriter, 
JavaEnumTypeWriter, and the new JavaSimpleTypeWriter.

I hope this helps, though I suppose I just made it more confusing!

Reply via email to