jaxb2-commons
jaxb2-commons copied to clipboard
Add generated constructors as methods to the ObjectFactory
XJC generated code looks fine:
{code;java}
public Property(final String value, final String name, final String locale)
{ this.value = value; this.name = name; this.locale = locale; }``` but the {{ObjectFactory}} still has only this:
{code:java} /** * Create an instance of {@link Property } * */ public Property createProperty() { return new Property(); }
It would be nice if the factory would have both methods, one for empty ctor and one for arg ctor.
#### Affected Versions
[current]
Reported by michael-o
Was assigned to super_glassfish
This issue was imported from java.net JIRA JAXB2_COMMONS-35