This method does the actual work of checking the provided
DOM implementation for the modules it supports.
DOMImplementation impl =
(DOMImplementation)Class.forName(vendorImplementationClass)
.newInstance();
for (int i=0; i<moduleNames.length; i++) {
if (impl.hasFeature(moduleNames[i], "2.0")) {
System.out.println("Support for " + moduleNames[i] +
" is included in this DOM implementation.");
} else {
System.out.println("Support for " + moduleNames[i] +
" is not included in this DOM implementation.");
}
}