Consider a company that contains many departments. Those departments contain employees, those employees have names, telephone numbers, and so on. To query a collection of companies and find, for example, all departments of companies in California with more than 10 employees, you could write something like this: for (Iterator companies = database.getCompanies().iterator(); companies.hasNext();) { [...]
JXPath simplifies Java queries
August 4th, 2006 by Ulrik Sandberg — Java, Testing
Tags: automated testing, collection, frameworks, open source, query, tools, xml
