On 6/15/06, Erik Hatcher <[EMAIL PROTECTED]> wrote:
Having a way to hook into the response writing by leveraging the ever improving Solr codebase and its utilities rather than copy/pasting would be a nice way to aim, I think.
It's a double edged sword. Making more things public facilitates reuse, but constrains implementation and code evolution. XMLWriter started out as implementation, not interface. For things like this, I'm OK with making it public if people are OK with updating their code if the class changes in the future. It's seems like "expert" level usage as very few people will be writing their own custom response writers. Also, there are some parts of XMLWriter (writeDate for instance) that we might want to move to the utils package since it would help the Java client. -Yonik