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

  • From: uche.ogbuji@f...
  • To: Leigh Dodds <ldodds@i...>
  • Date: Sun, 26 Dec 1999 14:10:15 -0700

> Hmm, I'd suggest:
> 
> interface QueryFactory {
> 
>   DocumentQuery getDocumentQuery(String queryType);
> }
> 
> And have the query type, "xpath" or "xsql" passed in to the 
> factory method. Solves the plugging in of new query types, and 
> avoids having to prepend the query string with "xpath:" or whatever.

This is a _very_ astute idea, and a much more sensible way to partition the 
problem-spaces.

Mrs. Wood and co., are you listening?

-- 
Uche Ogbuji
FourThought LLC, IT Consultants
uche.ogbuji@f...	(970)481-0805
Software engineering, project management, Intranets and Extranets
http://FourThought.com		http://OpenTechnology.org



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 unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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