Uses of Enum Class
com.openhtmltopdf.outputdevice.helper.ExternalResourceType
Packages that use ExternalResourceType
Package
Description
-
Uses of ExternalResourceType in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type ExternalResourceTypeModifier and TypeMethodDescriptionbyte[]
UserAgentCallback.getBinaryResource
(String uri, ExternalResourceType type) Retrieves a binary resource located at a given URI and returns its contents as a byte array ornull
if the resource could not be loaded.UserAgentCallback.getCSSResource
(String uri, ExternalResourceType type) UserAgentCallback.getImageResource
(String uri, ExternalResourceType type) UserAgentCallback.getXMLResource
(String uri, ExternalResourceType type) Retrieves the XML at the given URI. -
Uses of ExternalResourceType in com.openhtmltopdf.outputdevice.helper
Fields in com.openhtmltopdf.outputdevice.helper with type parameters of type ExternalResourceTypeModifier and TypeFieldDescriptionBaseRendererBuilder.BaseRendererBuilderState._afterAccessController
BaseRendererBuilder.BaseRendererBuilderState._beforeAccessController
Methods in com.openhtmltopdf.outputdevice.helper that return ExternalResourceTypeModifier and TypeMethodDescriptionstatic ExternalResourceType
Returns the enum constant of this class with the specified name.static ExternalResourceType[]
ExternalResourceType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Method parameters in com.openhtmltopdf.outputdevice.helper with type arguments of type ExternalResourceTypeModifier and TypeMethodDescriptionBaseRendererBuilder.useExternalResourceAccessControl
(BiPredicate<String, ExternalResourceType> allowExternalResource, ExternalResourceControlPriority priority) Allows to set one external access controller to run before the uri resolver and one to run after the uri resolver. -
Uses of ExternalResourceType in com.openhtmltopdf.swing
Fields in com.openhtmltopdf.swing with type parameters of type ExternalResourceTypeModifier and TypeFieldDescriptionprotected final Map
<ExternalResourceControlPriority, BiPredicate<String, ExternalResourceType>> NaiveUserAgent._accessControllers
Methods in com.openhtmltopdf.swing with parameters of type ExternalResourceTypeModifier and TypeMethodDescriptionboolean
NaiveUserAgent.checkAccessAllowed
(String uriOrResolved, ExternalResourceType type, ExternalResourceControlPriority priority) byte[]
NaiveUserAgent.getBinaryResource
(String uri, ExternalResourceType type) NaiveUserAgent.getCSSResource
(String uri, ExternalResourceType type) Retrieves the CSS located at the given URI.NaiveUserAgent.getImageResource
(String uri, ExternalResourceType type) Retrieves the image located at the given URI.NaiveUserAgent.getXMLResource
(String uri, ExternalResourceType type) Retrieves the XML located at the given URI.boolean
NaiveUserAgent.DefaultAccessController.test
(String uri, ExternalResourceType resourceType) Method parameters in com.openhtmltopdf.swing with type arguments of type ExternalResourceTypeModifier and TypeMethodDescriptionvoid
NaiveUserAgent.setAccessController
(ExternalResourceControlPriority prio, BiPredicate<String, ExternalResourceType> controller)