public class ConfigFilesXmlValidationUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConfigFilesXmlValidationUtils.LSInputImpl |
static class |
ConfigFilesXmlValidationUtils.ValidationErrorHandler |
static class |
ConfigFilesXmlValidationUtils.ValidatorLSResourceResolver |
Modifier and Type | Field and Description |
---|---|
static LSResourceResolver |
JAVAEE_5_LS_RESOURCE_RESOLVER |
static ErrorHandler |
VALIDATION_ERROR_HANDLER |
Constructor and Description |
---|
ConfigFilesXmlValidationUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getFaceletTagLibVersion(URL url) |
static String |
getFacesConfigVersion(URL url) |
static void |
validateFaceletTagLibFile(URL xmlFile,
ExternalContext externalContext,
String version) |
static void |
validateFacesConfigFile(URL xmlFile,
ExternalContext externalContext,
String version) |
public static final LSResourceResolver JAVAEE_5_LS_RESOURCE_RESOLVER
public static final ErrorHandler VALIDATION_ERROR_HANDLER
public static void validateFacesConfigFile(URL xmlFile, ExternalContext externalContext, String version) throws SAXException, IOException
SAXException
IOException
public static void validateFaceletTagLibFile(URL xmlFile, ExternalContext externalContext, String version) throws SAXException, IOException, ParserConfigurationException
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.