private boolean isXhtml(File file) {
            String name = file.getName();
            return name.endsWith(".xhtml") || name.endsWith(".xht");
        }
Self-contained, single use class for encapsulated building of an embedded
validator.
src/nu/validator/client/EmbeddedValidator.java