[jdom-interest] Re: setters in Format

Jason Hunter jhunter at acm.org
Fri May 30 01:37:38 PDT 2003


> OK, so now that means we have four mutually exclusive options for text 
> output (preserve, trim, normalize, trim all white).  It's getting crazy. 
>  I'm thinking an enum would make more sense.
> 
> -jh-

I just checked in code using the enum approach.  Please review it and 
let me know if this looks better.  I think it's more elegant than 3 or 4 
mutually exclusive setters.

-jh-




More information about the jdom-interest mailing list