xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Danner" <jacob.dan...@gmail.com>
Subject [XmlBeans-279] Add convenience XmlOptions setter methods with boolean arguments
Date Sat, 10 Mar 2007 07:32:21 GMT

Hey guys,
I've got a patch ready for the jira issue above, I think its a
improvement, but had some design questions I wanted to chat about.

In my patch I've added a method like
setSavePrettyPrint(boolean flag){
   return set( KEY );
   return checkAndRemove( KEY );

My questions are:
should methods like above be named:
savePrettyPrint(boolean flag)

Also, does/will it make sense to have similar convenience method for
methods that take parameters? For example,
setSavePrettyPrintIndent(boolean flag, int indent)
it doesn't really make sense to me, but I wanted to confirm.


To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org

View raw message