Uses of Class
com.openhtmltopdf.outputdevice.helper.ExternalResourceType
-
Packages that use ExternalResourceType Package Description com.openhtmltopdf.extend com.openhtmltopdf.outputdevice.helper com.openhtmltopdf.swing -
-
Uses of ExternalResourceType in com.openhtmltopdf.extend
Methods in com.openhtmltopdf.extend with parameters of type ExternalResourceType Modifier and Type Method Description byte[]UserAgentCallback. getBinaryResource(String uri, ExternalResourceType type)Retrieves a binary resource located at a given URI and returns its contents as a byte array ornullif the resource could not be loaded.CSSResourceUserAgentCallback. getCSSResource(String uri, ExternalResourceType type)ImageResourceUserAgentCallback. getImageResource(String uri, ExternalResourceType type)XMLResourceUserAgentCallback. 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 ExternalResourceType Modifier and Type Field Description BiPredicate<String,ExternalResourceType>BaseRendererBuilder.BaseRendererBuilderState. _afterAccessControllerBiPredicate<String,ExternalResourceType>BaseRendererBuilder.BaseRendererBuilderState. _beforeAccessControllerMethods in com.openhtmltopdf.outputdevice.helper that return ExternalResourceType Modifier and Type Method Description static ExternalResourceTypeExternalResourceType. valueOf(String name)Returns the enum constant of this type with the specified name.static ExternalResourceType[]ExternalResourceType. values()Returns an array containing the constants of this enum type, in the order they are declared.Method parameters in com.openhtmltopdf.outputdevice.helper with type arguments of type ExternalResourceType Modifier and Type Method Description TFinalClassBaseRendererBuilder. 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 ExternalResourceType Modifier and Type Field Description protected Map<ExternalResourceControlPriority,BiPredicate<String,ExternalResourceType>>NaiveUserAgent. _accessControllersMethods in com.openhtmltopdf.swing with parameters of type ExternalResourceType Modifier and Type Method Description booleanNaiveUserAgent. checkAccessAllowed(String uriOrResolved, ExternalResourceType type, ExternalResourceControlPriority priority)byte[]NaiveUserAgent. getBinaryResource(String uri, ExternalResourceType type)CSSResourceNaiveUserAgent. getCSSResource(String uri, ExternalResourceType type)Retrieves the CSS located at the given URI.ImageResourceNaiveUserAgent. getImageResource(String uri, ExternalResourceType type)Retrieves the image located at the given URI.XMLResourceNaiveUserAgent. getXMLResource(String uri, ExternalResourceType type)Retrieves the XML located at the given URI.booleanNaiveUserAgent.DefaultAccessController. test(String uri, ExternalResourceType resourceType)Method parameters in com.openhtmltopdf.swing with type arguments of type ExternalResourceType Modifier and Type Method Description voidNaiveUserAgent. setAccessController(ExternalResourceControlPriority prio, BiPredicate<String,ExternalResourceType> controller)
-