java.lang.Object
com.sun.faces.config.manager.DbfFactory
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.sun.faces.config.manager.DbfFactory.FacesEntityResolverEntityResolverstatic final com.sun.faces.config.manager.DbfFactory.FacesErrorHandlerErrorHandler
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic DocumentBuilderFactorystatic SchemagetSchema(ServletContext servletContext, FacesSchema schemaId) Get the schema for the given schema id.static SchemagetSchema(ServletContext servletContext, String documentNS, String version, String localName) Get the schema for the given schema id.static SchemaloadSchema(String resourceName, String fileName) static voidremoveSchemaMap(ServletContext servletContext) Remove the schema map from the servlet context.
- 
Field Details- 
FACES_ENTITY_RESOLVERpublic static final com.sun.faces.config.manager.DbfFactory.FacesEntityResolver FACES_ENTITY_RESOLVEREntityResolver
- 
FACES_ERROR_HANDLERpublic static final com.sun.faces.config.manager.DbfFactory.FacesErrorHandler FACES_ERROR_HANDLERErrorHandler
 
- 
- 
Constructor Details- 
DbfFactorypublic DbfFactory()
 
- 
- 
Method Details- 
getFactory
- 
getSchemapublic 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 document
- version- version attribute of the root tag, if any
- localName- name of the root tag
- Returns:
- the schema, or null if not found.
 
- 
getSchemaGet 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.
 
- 
removeSchemaMapRemove the schema map from the servlet context.- Parameters:
- servletContext- the servlet context.
 
- 
loadSchemapublic static Schema loadSchema(String resourceName, String fileName) throws SAXException, IOException - Throws:
- SAXException
- IOException
 
 
-