I recently start using the DefaultConfigurationSerializer to serialize a
dynamically generated configuration.
 
I'd like admins to be able to hand modify the configuration after it is
generated, so it needs to be indented. However, when I use setIndent(true)
it only adds carriage returns.
 
Can someone explain why setIndent is actually setCarriageReturn and there
isn't really a setIndent?
 
Also, is there and easy way to implement idents? The only thing I figured
out was to subcass the DefaultConfigurationSerializer and call
ignorableWhitspace on the content handler.
 
d./


Reply via email to