Package com.composum.sling.core.mapping
Enum MappingRules.PropertyFormat.Binary
- java.lang.Object
-
- java.lang.Enum<MappingRules.PropertyFormat.Binary>
-
- com.composum.sling.core.mapping.MappingRules.PropertyFormat.Binary
-
- All Implemented Interfaces:
Serializable
,Comparable<MappingRules.PropertyFormat.Binary>
- Enclosing class:
- MappingRules.PropertyFormat
public static enum MappingRules.PropertyFormat.Binary extends Enum<MappingRules.PropertyFormat.Binary>
the binary transformation rules - skip: don't export or import binary properties - link: build an URL to download the binary content (export only, ignored during import) - base64: embed binary content as base64 encoded string (export) and decode this during import
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MappingRules.PropertyFormat.Binary
valueOf(String name)
Returns the enum constant of this type with the specified name.static MappingRules.PropertyFormat.Binary[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
skip
public static final MappingRules.PropertyFormat.Binary skip
-
link
public static final MappingRules.PropertyFormat.Binary link
-
base64
public static final MappingRules.PropertyFormat.Binary base64
-
-
Method Detail
-
values
public static MappingRules.PropertyFormat.Binary[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MappingRules.PropertyFormat.Binary c : MappingRules.PropertyFormat.Binary.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MappingRules.PropertyFormat.Binary 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 nameNullPointerException
- if the argument is null
-
-