Enum ResourceType

java.lang.Object
java.lang.Enum<ResourceType>
com.realobjects.pdfreactor.contentobserver.ResourceType
All Implemented Interfaces:
Serializable, Comparable<ResourceType>, java.lang.constant.Constable

public enum ResourceType extends Enum<ResourceType>

Indicates the type of resource.

  • Enum Constant Details

    • UNKNOWN

      public static final ResourceType UNKNOWN

      An unknown resource type.

    • STYLESHEET

      public static final ResourceType STYLESHEET

      A style sheet.

    • SCRIPT

      public static final ResourceType SCRIPT

      A script.

    • IMAGE

      public static final ResourceType IMAGE

      An image.

    • FONT

      public static final ResourceType FONT

      A font.

    • OBJECT

      public static final ResourceType OBJECT

      An embedded object.

    • IFRAME

      public static final ResourceType IFRAME

      An iframe.

    • RUNNING_DOCUMENT

      public static final ResourceType RUNNING_DOCUMENT

      A running document.

    • ICC_PROFILE

      public static final ResourceType ICC_PROFILE

      An ICC profile.

    • MERGE_DOCUMENT

      public static final ResourceType MERGE_DOCUMENT

      A merge document.

    • ATTACHMENT

      public static final ResourceType ATTACHMENT

      An attachment.

    • DOCUMENT

      public static final ResourceType DOCUMENT
      The main HTML or XML document.
    • XHR

      public static final ResourceType XHR
      An XMLHttpRequest.
    • LICENSEKEY

      public static final ResourceType LICENSEKEY

      The license key.

  • Method Details

    • values

      public static ResourceType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ResourceType 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null