[jboss-jira] [JBoss JIRA] Resolved: (JBXB-94) local element interceptors
Alexey Loubyansky (JIRA)
jira-events at jboss.com
Mon Dec 11 11:23:38 EST 2006
[ http://jira.jboss.com/jira/browse/JBXB-94?page=all ]
Alexey Loubyansky resolved JBXB-94.
-----------------------------------
Resolution: Done
The TypeBinding.pushInterceptor(QName elementName, ElementInterceptor interceptor) is updated to pushes a new interceptor for the specified element. If the element has a global scope in the schema, this interceptor will be invoked only when the element is found to be a child of this type. This is the difference between the local interceptors added with this method and the interceptors added directly to the element binding.
When an element is started, local interceptors are invoked before the interceptors from the element binding. In the endElement the order is reversed.
> local element interceptors
> --------------------------
>
> Key: JBXB-94
> URL: http://jira.jboss.com/jira/browse/JBXB-94
> Project: JBoss XML Binding (JBossXB)
> Issue Type: Feature Request
> Affects Versions: JBossXB-1.0.0.CR8
> Reporter: Alexey Loubyansky
> Assigned To: Alexey Loubyansky
> Fix For: JBossXB-1.0
>
>
> There is a need to be able to use different interceptors for the same global element depending on where the element is used.
> TypeBinding.pushInterceptor(...) should create a local stack instead of adding the interceptor directly to the element binding.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list