Class DbfFactory


  • public class DbfFactory
    extends Object

    Create and configure DocumentBuilderFactory instances.

    • Field Detail

      • FACES_ENTITY_RESOLVER

        public static final com.sun.faces.config.manager.DbfFactory.FacesEntityResolver FACES_ENTITY_RESOLVER
        EntityResolver
      • FACES_ERROR_HANDLER

        public static final com.sun.faces.config.manager.DbfFactory.FacesErrorHandler FACES_ERROR_HANDLER
        ErrorHandler
    • Constructor Detail

      • DbfFactory

        public DbfFactory()
    • Method Detail

      • getSchema

        public static Schema getSchema​(jakarta.servlet.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.
      • getSchema

        public static Schema getSchema​(jakarta.servlet.ServletContext servletContext,
                                       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.