SvgExternalResources

Specifies which external resources an SVG document may load while it is rendered. External resources are the targets of image and use references that point outside the SVG document itself. Embedded data: URIs and references to elements inside the same document are always allowed.

Entries

Link copied to clipboard

No external resources are loaded. Only embedded data: URIs and references to elements inside the same document are resolved.

Link copied to clipboard

Files on the local file system can be loaded, for example images stored next to the SVG file. Network locations are not loaded.

Link copied to clipboard

Local files and remote HTTP or HTTPS locations can be loaded. Redirects are not followed. Only use this value with SVG documents from a trusted source.

Functions

Link copied to clipboard
public static SvgExternalResources valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.