Interface EntityUrlResolver

  • All Superinterfaces:
    org.xml.sax.EntityResolver

    @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public interface EntityUrlResolver
    extends org.xml.sax.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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String resolveEntityUrl​(java.lang.String publicId, java.lang.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 Detail

      • resolveEntityUrl

        java.lang.String resolveEntityUrl​(java.lang.String publicId,
                                          java.lang.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)