Package com._1c.g5.v8.dt.moxel.util
Class AreaNameValidationHelper
- java.lang.Object
-
- com._1c.g5.v8.dt.moxel.util.AreaNameValidationHelper
-
public class AreaNameValidationHelper extends Object
Helper class for areas' name validation
-
-
Field Summary
Fields Modifier and Type Field Description static Pattern
COLUMN_AREA_PATTERN
static Pattern
RECT_AREA_PATTERN
static Pattern
ROW_AREA_PATTERN
static Pattern
TABLE_AREA_PATTERN
-
Constructor Summary
Constructors Constructor Description AreaNameValidationHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isCorrectAreaName(String name)
Check ifname
is correct area namestatic boolean
isCorrectColumnsAreaName(String name)
Check ifname
is correct name of columns areastatic boolean
isCorrectRectangleAreaName(String name)
Check ifname
is correct name of rectangle areastatic boolean
isCorrectRowsAreaName(String name)
Check ifname
is correct name of rows area
-
-
-
Method Detail
-
isCorrectRowsAreaName
public static boolean isCorrectRowsAreaName(String name)
Check ifname
is correct name of rows area- Parameters:
name
- name to be checked- Returns:
- check result
-
isCorrectColumnsAreaName
public static boolean isCorrectColumnsAreaName(String name)
Check ifname
is correct name of columns area- Parameters:
name
- name to be checked- Returns:
- check result
-
isCorrectRectangleAreaName
public static boolean isCorrectRectangleAreaName(String name)
Check ifname
is correct name of rectangle area- Parameters:
name
- name to be checked- Returns:
- check result
-
isCorrectAreaName
public static boolean isCorrectAreaName(String name)
Check ifname
is correct area name- Parameters:
name
- name to be checked- Returns:
- check result
-
-