[jdom-interest] First impressions and some suggestions

Mark Stewart mstewart at atg.com
Fri Jun 2 11:57:10 PDT 2000


> other names are welcome.  getContentRaw() is the best I've come up with
> but don't really like it.  getRawContent()?  getUntrimmedContent()? 
> Hmm...

I'd rather preserve the elegance of a single method but overload it with
a version that takes a boolean indicating whether whitespace is
preserved or not. Then the no arg version could simply call the new
method with the appropriate value to get the default behavior.

::mark



More information about the jdom-interest mailing list