Package org.openrefine.grel
Class ControlDescription
- java.lang.Object
-
- org.openrefine.grel.ControlDescription
-
public class ControlDescription extends Object
Generated localization support class.
-
-
Constructor Summary
Constructors Constructor Description ControlDescription()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jvnet.localizer.Localizable_filter_desc()Keyfilter_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array..static org.jvnet.localizer.Localizable_for_non_blank_desc()Keyfor_non_blank_desc:Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead..static org.jvnet.localizer.Localizable_for_range_desc()Keyfor_range_desc:Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array..static org.jvnet.localizer.Localizable_foreach_desc()Keyforeach_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array..static org.jvnet.localizer.Localizable_foreach_index_desc()Keyforeach_index_desc:Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array..static org.jvnet.localizer.Localizable_if_desc()Keyif_desc:Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead..static org.jvnet.localizer.Localizable_is_blank_desc()Keyis_blank_desc:Returns whether o is null or an empty string.static org.jvnet.localizer.Localizable_is_error_desc()Keyis_error_desc:Returns whether o is an error.static org.jvnet.localizer.Localizable_is_non_blank_desc()Keyis_non_blank_desc:Returns whether o is not null and not an empty string.static org.jvnet.localizer.Localizable_is_not_null_desc()Keyis_not_null_desc:Returns whether o is not null.static org.jvnet.localizer.Localizable_is_null_desc()Keyis_null_desc:Returns whether o is null.static org.jvnet.localizer.Localizable_is_numeric_desc()Keyis_numeric_desc:Returns whether o can represent a number.static org.jvnet.localizer.Localizable_is_test_desc()Keyis_test_desc:Returns whether o can represent a number.static org.jvnet.localizer.Localizable_isempty_string_desc()Keyisempty_string_desc:Returns whether o is an empty string.static org.jvnet.localizer.Localizable_with_desc()Keywith_desc:Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result.static Stringfilter_desc()Keyfilter_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array..static Stringfor_non_blank_desc()Keyfor_non_blank_desc:Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead..static Stringfor_range_desc()Keyfor_range_desc:Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array..static Stringforeach_desc()Keyforeach_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array..static Stringforeach_index_desc()Keyforeach_index_desc:Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array..static Stringif_desc()Keyif_desc:Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead..static Stringis_blank_desc()Keyis_blank_desc:Returns whether o is null or an empty string.static Stringis_error_desc()Keyis_error_desc:Returns whether o is an error.static Stringis_non_blank_desc()Keyis_non_blank_desc:Returns whether o is not null and not an empty string.static Stringis_not_null_desc()Keyis_not_null_desc:Returns whether o is not null.static Stringis_null_desc()Keyis_null_desc:Returns whether o is null.static Stringis_numeric_desc()Keyis_numeric_desc:Returns whether o can represent a number.static Stringis_test_desc()Keyis_test_desc:Returns whether o can represent a number.static Stringisempty_string_desc()Keyisempty_string_desc:Returns whether o is an empty string.static Stringwith_desc()Keywith_desc:Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result.
-
-
-
Method Detail
-
foreach_desc
public static String foreach_desc()
Keyforeach_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array.
-
_foreach_desc
public static org.jvnet.localizer.Localizable _foreach_desc()
Keyforeach_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array.
-
is_not_null_desc
public static String is_not_null_desc()
Keyis_not_null_desc:Returns whether o is not null.- Returns:
Returns whether o is not null
-
_is_not_null_desc
public static org.jvnet.localizer.Localizable _is_not_null_desc()
Keyis_not_null_desc:Returns whether o is not null.- Returns:
Returns whether o is not null
-
is_non_blank_desc
public static String is_non_blank_desc()
Keyis_non_blank_desc:Returns whether o is not null and not an empty string.- Returns:
Returns whether o is not null and not an empty string
-
_is_non_blank_desc
public static org.jvnet.localizer.Localizable _is_non_blank_desc()
Keyis_non_blank_desc:Returns whether o is not null and not an empty string.- Returns:
Returns whether o is not null and not an empty string
-
for_non_blank_desc
public static String for_non_blank_desc()
Keyfor_non_blank_desc:Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead..- Returns:
Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead.
-
_for_non_blank_desc
public static org.jvnet.localizer.Localizable _for_non_blank_desc()
Keyfor_non_blank_desc:Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead..- Returns:
Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead.
-
is_test_desc
public static String is_test_desc()
Keyis_test_desc:Returns whether o can represent a number.- Returns:
Returns whether o can represent a number
-
_is_test_desc
public static org.jvnet.localizer.Localizable _is_test_desc()
Keyis_test_desc:Returns whether o can represent a number.- Returns:
Returns whether o can represent a number
-
is_blank_desc
public static String is_blank_desc()
Keyis_blank_desc:Returns whether o is null or an empty string.- Returns:
Returns whether o is null or an empty string
-
_is_blank_desc
public static org.jvnet.localizer.Localizable _is_blank_desc()
Keyis_blank_desc:Returns whether o is null or an empty string.- Returns:
Returns whether o is null or an empty string
-
filter_desc
public static String filter_desc()
Keyfilter_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array.
-
_filter_desc
public static org.jvnet.localizer.Localizable _filter_desc()
Keyfilter_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array.
-
if_desc
public static String if_desc()
Keyif_desc:Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead..- Returns:
Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead.
-
_if_desc
public static org.jvnet.localizer.Localizable _if_desc()
Keyif_desc:Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead..- Returns:
Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead.
-
is_error_desc
public static String is_error_desc()
Keyis_error_desc:Returns whether o is an error.- Returns:
Returns whether o is an error
-
_is_error_desc
public static org.jvnet.localizer.Localizable _is_error_desc()
Keyis_error_desc:Returns whether o is an error.- Returns:
Returns whether o is an error
-
is_null_desc
public static String is_null_desc()
Keyis_null_desc:Returns whether o is null.- Returns:
Returns whether o is null
-
_is_null_desc
public static org.jvnet.localizer.Localizable _is_null_desc()
Keyis_null_desc:Returns whether o is null.- Returns:
Returns whether o is null
-
is_numeric_desc
public static String is_numeric_desc()
Keyis_numeric_desc:Returns whether o can represent a number.- Returns:
Returns whether o can represent a number
-
_is_numeric_desc
public static org.jvnet.localizer.Localizable _is_numeric_desc()
Keyis_numeric_desc:Returns whether o can represent a number.- Returns:
Returns whether o can represent a number
-
with_desc
public static String with_desc()
Keywith_desc:Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result.- Returns:
Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result
-
_with_desc
public static org.jvnet.localizer.Localizable _with_desc()
Keywith_desc:Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result.- Returns:
Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result
-
isempty_string_desc
public static String isempty_string_desc()
Keyisempty_string_desc:Returns whether o is an empty string.- Returns:
Returns whether o is an empty string
-
_isempty_string_desc
public static org.jvnet.localizer.Localizable _isempty_string_desc()
Keyisempty_string_desc:Returns whether o is an empty string.- Returns:
Returns whether o is an empty string
-
for_range_desc
public static String for_range_desc()
Keyfor_range_desc:Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array..- Returns:
Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array.
-
_for_range_desc
public static org.jvnet.localizer.Localizable _for_range_desc()
Keyfor_range_desc:Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array..- Returns:
Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array.
-
foreach_index_desc
public static String foreach_index_desc()
Keyforeach_index_desc:Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array.
-
_foreach_index_desc
public static org.jvnet.localizer.Localizable _foreach_index_desc()
Keyforeach_index_desc:Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array.
-
-