Package org.apache.myfaces.util
Class WebXmlParser
- java.lang.Object
-
- org.apache.myfaces.util.WebXmlParser
-
public class WebXmlParser extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,String>
getErrorPages(ExternalContext context)
Parses the web.xml and web-fragements.xml for error pages.
-
-
-
Method Detail
-
getErrorPages
public static Map<String,String> getErrorPages(ExternalContext context)
Parses the web.xml and web-fragements.xml for error pages. "null" as key represents the default error page. Otherwise, the key is the exception class.- Parameters:
context
- the External Context or NULL if checking current classload- Returns:
- a Map of Exception to XHTML pages
-
-