Configuration option for JBossXBBuilder to setup RepeatableParticleHandlers for
collections
-------------------------------------------------------------------------------------------
Key: JBXB-239
URL:
https://jira.jboss.org/jira/browse/JBXB-239
Project: JBoss XML Binding (JBossXB)
Issue Type: Feature Request
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
Fix For: JBossXB-2.0.2.GA
In previous releases collection properties are initialized by CollectionPropertyHandler or
CollectionPropertyWildcardHandler.
For optimization purposes for properties of collection types RepeatableParticleHandler
impls can be used instead.
Their use could be configured with JBossXBBuilder's
public static boolean isRepeatableParticleHandlers()
{
return repeatableParticleHandlers;
}
public static void setRepeatableParticleHandlers(boolean repeatableParticleHandlers)
{
JBossXBBuilder.repeatableParticleHandlers = repeatableParticleHandlers;
}
or the following system property: xb.builder.repeatableParticleHandlers
The default value will be true.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira