On Mar 11, 2013, at 8:32 AM, Colm O hEigeartaigh <cohei...@apache.org> wrote:
> Is there a way to find a CXF AssertionInfo object associated with a Neethi > Assertion? Normally you do the something like: > > Collection<AssertionInfo> ais = AssertionInfoMap.get(QName); > for (AssertionInfo ai : ais) { > ai.getAssertion(); > .... > } > > I am interested in the opposite use-case - I have a Assertion that I have > retrieved via a parent assertion, and I want to mark the corresponding CXF > AssertionInfo as asserted. Any ideas? You'd likely need a utility method that does: Collection<AssertionInfo> ais = AssertionInfoMap.get(QName); for (AssertionInfo ai : ais) { if (ai.getAssertion() == assertion) { ai.setAsserted(true); } } -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com