[Home] [By Thread] [By Date] [Recent Entries]

  • From: MikeDacon@a...
  • To: b.laforge@j...
  • Date: Wed, 10 Mar 1999 07:18:13 EST

Hi Bill,

In a message dated 3/9/99 11:37:51 PM Eastern Standard Time,
b.laforge@j... writes:
> >org.w3c.dom.Document  parse(InputSource  is, boolean events) throws
>  >SAXException; 
>  >org.w3c.dom.Document  parse(java.lang.String uri, boolean events) throws
>  >SAXException;
>  >/* the events boolean would be to turn on/off event calls. */
>  
>  
>  I think you have this capability without the extra parameter, since you
don't
>  get events unless you register a handler to receives them.
>  

Since there is already a parse(InputSource) and parse(String) method
in the interface, in order to overload it we need a second parameter.
The events parameter was the first one that came to mind, there may
be a better one.

Best wishes,

 - Mike  

Mike Daconta (www.gosynergy.com)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member