Re: Passing null to setFooHandler

"Karl Waclawek" <[email protected]> Sun, 25 Apr 2004 14:21:11 -0400
Newsgroups gmane.text.xml.sax.devel
Message-ID <001a01c42af2$1696cb90$0200a8c0@karlglen188>

> I suggest we add verbiage like the following to each of the setter 
> methods in XMLReader:
> 
> An application may pass null to this method to remove the currently 
> registered ContentHandler. In this case, the parser must stop using the 
> old handler immediately. A NullPointerException is not thrown.

Make sense to. Is that really not documented?

Karl


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
List: sax-devel, [email protected]
See:  http://www.saxproject.org/
https://lists.sourceforge.net/lists/listinfo/sax-devel