Interface EntityUrlResolver

All Superinterfaces:
EntityResolver

@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface EntityUrlResolver extends EntityResolver
Extended interface to be implemented by an EntityResolver to receive a special callback when Oxygen is not interested in the content of the entity but just in its URL. This method can be more efficient than the resolveEntity method in the parent interface.
Since:
22
  • Method Summary

    Modifier and Type
    Method
    Description
    resolveEntityUrl(String publicId, String systemId)
    Resolve the URL of external entities (including the external DTD subset and external parameter entities).

    Methods inherited from interface org.xml.sax.EntityResolver

    resolveEntity
  • Method Details

    • resolveEntityUrl

      String resolveEntityUrl(String publicId, String systemId)
      Resolve the URL of external entities (including the external DTD subset and external parameter entities).
      Parameters:
      publicId - The public identifier of the external entity being referenced, or null if none was supplied.
      systemId - The system identifier of the external entity being referenced.
      Returns:
      The URL of the external entity to be used. null means that the entity could not be resolved. See: EntityResolver#resolveEntity(String, String)