Enum MetadataBuilder.Scope

java.lang.Object
java.lang.Enum<MetadataBuilder.Scope>
org.apache.sis.internal.storage.MetadataBuilder.Scope
All Implemented Interfaces:
Serializable, Comparable<MetadataBuilder.Scope>, java.lang.constant.Constable
Enclosing class:
MetadataBuilder

public static enum MetadataBuilder.Scope extends Enum<MetadataBuilder.Scope>
Specify if an information apply to data, to metadata or to both. This is used for setting the locale or character encoding.
  • Enum Constant Details

    • RESOURCE

      public static final MetadataBuilder.Scope RESOURCE
      Information applies only to the resource (data).
    • METADATA

      public static final MetadataBuilder.Scope METADATA
      Information applies only to metadata.
    • ALL

      public static final MetadataBuilder.Scope ALL
      Information applies to both resource and metadata.
  • Constructor Details

    • Scope

      private Scope()
  • Method Details

    • values

      public static MetadataBuilder.Scope[] 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 MetadataBuilder.Scope 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