[
Lists Home |
Date Index |
Thread Index
]
- From: uche.ogbuji@fourthought.com
- To: Leigh Dodds <ldodds@ingenta.com>
- 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@fourthought.com (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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|