java.lang.Object
com.sun.faces.config.manager.DbfFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.sun.faces.config.manager.DbfFactory.FacesEntityResolver
EntityResolverstatic final com.sun.faces.config.manager.DbfFactory.FacesErrorHandler
ErrorHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentBuilderFactory
static Schema
getSchema
(ServletContext servletContext, FacesSchema schemaId) Get the schema for the given schema id.static Schema
getSchema
(ServletContext servletContext, String documentNS, String version, String localName) Get the schema for the given schema id.static Schema
loadSchema
(String resourceName, String fileName) static void
removeSchemaMap
(ServletContext servletContext) Remove the schema map from the servlet context.
-
Field Details
-
Constructor Details
-
Method Details
-
getFactory
-
getSchema
public static Schema getSchema(ServletContext servletContext, String documentNS, String version, String localName) Get the schema for the given schema id.- Parameters:
servletContext
- the backing servlet context.documentNS
- namespace of the documentversion
- version attribute of the root tag, if anylocalName
- name of the root tag- Returns:
- the schema, or null if not found.
-
getSchema
Get the schema for the given schema id.- Parameters:
servletContext
- the backing servlet context.schemaId
- the schema id.- Returns:
- the schema, or null if not found.
-
removeSchemaMap
Remove the schema map from the servlet context.- Parameters:
servletContext
- the servlet context.
-
loadSchema
public static Schema loadSchema(String resourceName, String fileName) throws SAXException, IOException - Throws:
SAXException
IOException
-