class AppSchemaValidator {

    static String getEncoding(String xml) {
        Matcher m = XML_ENCODING_PATTERN.matcher(xml);
        if (m.matches()) {
            return m.group(1);
        } else {
            return null;
        }
    }

    private  AppSchemaValidator();
    private  AppSchemaValidator(SchemaResolver resolver);
    private  AppSchemaValidator(SchemaCatalog catalog);

}