ModSAX: Proposed Core Properties

MikeDacon at aol.com MikeDacon at aol.com
Wed Mar 10 12:21:56 GMT 1999


Hi Bill,

In a message dated 3/9/99 11:37:51 PM Eastern Standard Time,
b.laforge at jxml.com 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 at ic.ac.uk
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 at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list