On Tue, Sep 18, 2001 at 10:39:14AM -0700, Christopher Pickslay wrote:
> 
> As to how to treat child elements, I'd recommend having 
> StringElementHandlerBase throw an exception (as it currently does). But it 
> would be a good idea to add a MixedElementHandlerBase class which allows 
> for the retrieval of character data and allows the implementor to handle 
> delegation for child elements.

That sounds a good idea.

Actually, the alternative would be to have two extra protected
methods on StringElementHandlerBase: say, startChildElement
and endChildElement.  By default, these just throw an exception,
but they can be over-ridden if you know what you're doing.

Same sort of idea, but avoids the extra class.

How does this sound?

   Thomas.
_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to