Package com.sun.faces.config.manager
Class DbfFactory
java.lang.Object
com.sun.faces.config.manager.DbfFactory
public class DbfFactory extends Object
Create and configure DocumentBuilderFactory instances.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DbfFactory.FacesSchema
-
Field Summary
Fields Modifier and Type Field Description static EntityResolver
FACES_ENTITY_RESOLVER
EntityResolverstatic com.sun.faces.config.manager.DbfFactory.FacesErrorHandler
FACES_ERROR_HANDLER
ErrorHandler -
Constructor Summary
Constructors Constructor Description DbfFactory()
-
Method Summary
Modifier and Type Method Description static DocumentBuilderFactory
getFactory()
static Schema
getSchema(jakarta.servlet.ServletContext servletContext, DbfFactory.FacesSchema schemaId)
Get the schema for the given schema id.static void
removeSchemaMap(jakarta.servlet.ServletContext servletContext)
Remove the schema map from the servlet context.
-
Field Details
-
FACES_ENTITY_RESOLVER
EntityResolver -
FACES_ERROR_HANDLER
public static final com.sun.faces.config.manager.DbfFactory.FacesErrorHandler FACES_ERROR_HANDLERErrorHandler
-
-
Constructor Details
-
DbfFactory
public DbfFactory()
-
-
Method Details
-
getFactory
-
getSchema
public static Schema getSchema(jakarta.servlet.ServletContext servletContext, DbfFactory.FacesSchema schemaId)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
public static void removeSchemaMap(jakarta.servlet.ServletContext servletContext)Remove the schema map from the servlet context.- Parameters:
servletContext
- the servlet context.
-