Enum MetadataVisitor.Filter

java.lang.Object
java.lang.Enum<MetadataVisitor.Filter>
org.apache.sis.metadata.MetadataVisitor.Filter
All Implemented Interfaces:
Serializable, Comparable<MetadataVisitor.Filter>, java.lang.constant.Constable
Enclosing class:
MetadataVisitor<R>

static enum MetadataVisitor.Filter extends Enum<MetadataVisitor.Filter>
Filter the properties to visit. A value of this enumeration is returned by MetadataVisitor.preVisit(PropertyAccessor) before the properties of a metadata instance are visited.
  • Enum Constant Details

    • NONE

      public static final MetadataVisitor.Filter NONE
      Do not visit any property (skip completely the metadata).
    • NON_EMPTY

      public static final MetadataVisitor.Filter NON_EMPTY
      Visit all non-null and non-empty standard properties.
    • WRITABLE

      public static final MetadataVisitor.Filter WRITABLE
      Visit all writable properties. May include some non-standard properties.
    • WRITABLE_RESULT

      public static final MetadataVisitor.Filter WRITABLE_RESULT
      Same as WRITABLE, but write properties in the object returned by MetadataVisitor.result(). This mode implies that result() is invoked before metadata properties are visited instead of after.
  • Constructor Details

    • Filter

      private Filter()
  • Method Details

    • values

      public static MetadataVisitor.Filter[] 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 MetadataVisitor.Filter 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