code: public static Validator forLanguage(String language) {
          if (!Languages.XML_DTD_NS_URI.equals(language)) {
              return new JAXPValidator(language);
          }
          return new ParsingValidator(Languages.XML_DTD_NS_URI);
      }
docs: Factory that obtains a Validator instance based on the schema language.
  
  @see Languages