You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Christian Schulte (JIRA)" <ja...@ws.apache.org> on 2006/11/05 02:54:17 UTC
[jira] Updated: (JAXME-88) Please fix generated class name for
enumerations
[ http://issues.apache.org/jira/browse/JAXME-88?page=all ]
Christian Schulte updated JAXME-88:
-----------------------------------
Attachment: enum_classname.patch
Patch which removes "Class" from generated class names.
> Please fix generated class name for enumerations
> ------------------------------------------------
>
> Key: JAXME-88
> URL: http://issues.apache.org/jira/browse/JAXME-88
> Project: JaxMe
> Issue Type: Wish
> Components: JaxMe Core
> Reporter: Christian Schulte
> Priority: Critical
> Attachments: enum_classname.patch
>
>
> When generating code for the following simple type, the jaxme source generator generates a typesafe java enumeration class with name PropertyVisibilityClass. The JAXB 1.0 reference implementation generates a java class named PropertyVisibility. The attached patch makes jaxme generate the same class name as the reference implementation.
> <xsd:simpleType name="propertyVisibility">
> <xsd:annotation>
> <xsd:documentation xml:lang="en">
> Property scopes.
> </xsd:documentation>
> </xsd:annotation>
> <xsd:restriction base="xsd:NCName">
> <xsd:enumeration value="private"/>
> <xsd:enumeration value="default"/>
> <xsd:enumeration value="protected"/>
> <xsd:enumeration value="public"/>
> </xsd:restriction>
> </xsd:simpleType>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org