Class MavenCatalogResolver

    • Method Detail

      • getCatalogManager

        protected final CatalogManager getCatalogManager()
      • getLog

        protected final org.apache.maven.plugin.logging.Log getLog()
      • getResolvedEntity

        public String getResolvedEntity​(String publicId,
                                        String origSystemId)
        Description copied from class: CatalogResolver
        Implements the guts of the resolveEntity method for the SAX interface.

        Presented with an optional public identifier and a system identifier, this function attempts to locate a mapping in the catalogs.

        If such a mapping is found, it is returned. If no mapping is found, null is returned.

        Overrides:
        getResolvedEntity in class CatalogResolver
        Parameters:
        publicId - The public identifier for the entity in question. This may be null.
        origSystemId - The system identifier for the entity in question. XML requires a system identifier on all external entities, so this value is always specified.
        Returns:
        The resolved identifier (a URI reference).