Transform Class

public final class Transform
extends ExpandableStringEnum<Transform>

Describes what transforms are applied before matching.

Field Summary

Modifier and Type Field and Description
static final Transform LOWERCASE

Static value Lowercase for Transform.

static final Transform REMOVE_NULLS

Static value RemoveNulls for Transform.

static final Transform TRIM

Static value Trim for Transform.

static final Transform UPPERCASE

Static value Uppercase for Transform.

static final Transform URL_DECODE

Static value UrlDecode for Transform.

static final Transform URL_ENCODE

Static value UrlEncode for Transform.

Constructor Summary

Constructor Description
Transform()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Transform value.

Method Summary

Modifier and Type Method and Description
static Transform fromString(String name)

Creates or finds a Transform from its string representation.

static Collection<Transform> values()

Gets known Transform values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

LOWERCASE

public static final Transform LOWERCASE

Static value Lowercase for Transform.

REMOVE_NULLS

public static final Transform REMOVE_NULLS

Static value RemoveNulls for Transform.

TRIM

public static final Transform TRIM

Static value Trim for Transform.

UPPERCASE

public static final Transform UPPERCASE

Static value Uppercase for Transform.

URL_DECODE

public static final Transform URL_DECODE

Static value UrlDecode for Transform.

URL_ENCODE

public static final Transform URL_ENCODE

Static value UrlEncode for Transform.

Constructor Details

Transform

@Deprecated
public Transform()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Transform value.

Method Details

fromString

public static Transform fromString(String name)

Creates or finds a Transform from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Transform.

values

public static Collection<Transform> values()

Gets known Transform values.

Returns:

known Transform values.

Applies to