You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Temp.Add should support value optionally
for example:
@Relation.Finish("*")
public static Temp.Add("matcher") Matcher relateWithMatcher(Matcher matcher){
parent.add(new QName("matcher"), matcher);
}
here matcher is an abstract class. Different child elements create Matcher
subclass instances with different
element name. We want to collect all matchers into to temp list. For this
Temp.Add must support value argument
optionally.
workaround is:
@Relation.Finish("*")
public static void relateWithMatcher(SAXContext parent, Matcher matcher){
parent.add(new QName("matcher"), matcher);
}
why dont we add Temp.Put also and support optional value argument for that
also....
Original issue reported on code.google.com by [email protected] on 10 Sep 2010 at 4:39
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 10 Sep 2010 at 4:39The text was updated successfully, but these errors were encountered: