Package org.apache.sis.metadata
Enum MetadataVisitor.Filter
- All Implemented Interfaces:
Serializable
,Comparable<MetadataVisitor.Filter>
,java.lang.constant.Constable
- Enclosing class:
- MetadataVisitor<R>
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVisit all non-null and non-empty standard properties.Do not visit any property (skip completely the metadata).Visit all writable properties.Same asWRITABLE
, but write properties in the object returned byMetadataVisitor.result()
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataVisitor.Filter
Returns the enum constant of this type with the specified name.static MetadataVisitor.Filter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Do not visit any property (skip completely the metadata). -
NON_EMPTY
Visit all non-null and non-empty standard properties. -
WRITABLE
Visit all writable properties. May include some non-standard properties. -
WRITABLE_RESULT
Same asWRITABLE
, but write properties in the object returned byMetadataVisitor.result()
. This mode implies thatresult()
is invoked before metadata properties are visited instead of after.
-
-
Constructor Details
-
Filter
private Filter()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-