org.apache.myfaces.config
Class ConfigFilesXmlValidationUtils

java.lang.Object
  extended by org.apache.myfaces.config.ConfigFilesXmlValidationUtils

public class ConfigFilesXmlValidationUtils
extends Object


Nested Class Summary
static class ConfigFilesXmlValidationUtils.LSInputImpl
           
static class ConfigFilesXmlValidationUtils.ValidationErrorHandler
           
static class ConfigFilesXmlValidationUtils.ValidatorLSResourceResolver
           
 
Field Summary
static LSResourceResolver JAVAEE_5_LS_RESOURCE_RESOLVER
           
static ErrorHandler VALIDATION_ERROR_HANDLER
           
 
Constructor Summary
ConfigFilesXmlValidationUtils()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVAEE_5_LS_RESOURCE_RESOLVER

public static final LSResourceResolver JAVAEE_5_LS_RESOURCE_RESOLVER

VALIDATION_ERROR_HANDLER

public static final ErrorHandler VALIDATION_ERROR_HANDLER
Constructor Detail

ConfigFilesXmlValidationUtils

public ConfigFilesXmlValidationUtils()
Method Detail

validateFacesConfigFile

public static void validateFacesConfigFile(URL xmlFile,
                                           ExternalContext externalContext,
                                           String version)
                                    throws SAXException,
                                           IOException
Throws:
SAXException
IOException

getFacesConfigVersion

public static final String getFacesConfigVersion(URL url)

validateFaceletTagLibFile

public static void validateFaceletTagLibFile(URL xmlFile,
                                             ExternalContext externalContext,
                                             String version)
                                      throws SAXException,
                                             IOException,
                                             ParserConfigurationException
Throws:
SAXException
IOException
ParserConfigurationException

getFaceletTagLibVersion

public static final String getFaceletTagLibVersion(URL url)


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.