Enum Class CALSAndHTMLTableLayoutProblem
java.lang.Object
java.lang.Enum<CALSAndHTMLTableLayoutProblem>
ro.sync.ecss.extensions.commons.table.support.errorscanner.CALSAndHTMLTableLayoutProblem
- All Implemented Interfaces:
Serializable
,Comparable<CALSAndHTMLTableLayoutProblem>
,Constable
,TableLayoutProblem
@API(type=INTERNAL,
src=PUBLIC)
public enum CALSAndHTMLTableLayoutProblem
extends Enum<CALSAndHTMLTableLayoutProblem>
implements TableLayoutProblem
CALS table layout problem
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface ro.sync.ecss.extensions.commons.table.support.errorscanner.TableLayoutProblem
TableLayoutProblem.Severity
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA specific attribute must have a numeric value en: "The {0} attribute must have a numeric value.Table cell overflows the specified columns countA cell was already occupied en: "The cell[{0}][{1}] is already occupied." {0} is the row number {1} is the column numberCells overlapping error(as generals as it can be)This cell overlaps previous cell.There is a difference between the cols value and the number of actual columns en: "The number of table columns determined from the table structure ({0}) is different than the value of the {1} attribute: ({2})." {0} is the table columns count {1} the name of the (cols) attribute {2} the value of the (cols) attributeThere is a difference between the number of colspecs and the number of actual columns en: "The number of table columns determined from the table structure ({0}) is different than the number of colspecs ({1})." {0} is the table columns count {1} is the colspecs numberThe column name from the namest or nameend attribute value is not found in column specifications en: "The column name ({0}) from the {1} attribute value is not found in column specifications." {0} the column name specified in the table {2} the name of the attribute that specifies the wrong column nameThe columns should be assigned consecutive numbersColumn numbering should begin from 1.The column width value is not valid according to the specification.The column width value is not valid according to the specification.en: Duplicate column name {'0'} {0} - the name of the columnDuplicate colspec's colnum.The column index determined from namest attribute value is less than the column index determined from nameend.The number of cells in the row overflows the number of table columns en: "The number of cells in the row ({0}) is greater than the value ({1}) of the table {2} attribute." {0} is the row cells count {1} the value of the table attribute that counts the columns number (cols) {2} the name of the table attribute that counts the columns number (cols)The number of cells in the row is less than the number of table columns en: "The number of cells in the row ({0}) is less than the value ({1}) of the table {2} attribute." {0} is the row cells count {1} the value of the table attribute that counts the columns number (cols) {2} the name of the table attribute that counts the columns number (cols)Column name (colname) attribute must not be present when column name start (namest) or column name end (nameend) are specified. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CALSAndHTMLTableLayoutProblem[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATTRIBUTE_VALUE_NOT_INTEGER
A specific attribute must have a numeric value en: "The {0} attribute must have a numeric value. The current value is: {1}." {0} is the attribute name {1} is the attribute value -
CELL_OVERLAPPING
A cell was already occupied en: "The cell[{0}][{1}] is already occupied." {0} is the row number {1} is the column number -
NAMEST_LESS_THAN_NAMEEND
The column index determined from namest attribute value is less than the column index determined from nameend. en: "The column index determined from namest ({0}) attribute value is greater than the column index determined from nameend ({1})." {0} the namest attribute value {1} the nameend attribute value -
COLSPECS_DIFFERENT_THAN_COLUMNS
There is a difference between the number of colspecs and the number of actual columns en: "The number of table columns determined from the table structure ({0}) is different than the number of colspecs ({1})." {0} is the table columns count {1} is the colspecs number -
COLS_DIFFERENT_THAN_COLUMNS
There is a difference between the cols value and the number of actual columns en: "The number of table columns determined from the table structure ({0}) is different than the value of the {1} attribute: ({2})." {0} is the table columns count {1} the name of the (cols) attribute {2} the value of the (cols) attribute -
ROW_CELL_COUNT_OVERFLOW
The number of cells in the row overflows the number of table columns en: "The number of cells in the row ({0}) is greater than the value ({1}) of the table {2} attribute." {0} is the row cells count {1} the value of the table attribute that counts the columns number (cols) {2} the name of the table attribute that counts the columns number (cols) -
ROW_CELL_COUNT_UNDERFLOW
The number of cells in the row is less than the number of table columns en: "The number of cells in the row ({0}) is less than the value ({1}) of the table {2} attribute." {0} is the row cells count {1} the value of the table attribute that counts the columns number (cols) {2} the name of the table attribute that counts the columns number (cols) -
COLUMN_NAME_INCORRECT
The column name from the namest or nameend attribute value is not found in column specifications en: "The column name ({0}) from the {1} attribute value is not found in column specifications." {0} the column name specified in the table {2} the name of the attribute that specifies the wrong column name -
COLUMN_WIDTH_VALUE_INCORRECT
The column width value is not valid according to the specification. en: "The column width ({0}) should be a mixture of proportional or measuring unit numbers." {0} the column name specified in the table -
COLUMN_WIDTH_NO_MEASURING_UNITS_VALUE_INCORRECT
The column width value is not valid according to the specification. en: "The column width ({0}) must not contain measuring unit numbers." {0} the column name specified in the table -
CELL_OVERLAPS_PREVIOUS_CELL
This cell overlaps previous cell. -
DUPLICATE_COLSPEC_NAME
en: Duplicate column name {'0'} {0} - the name of the column -
COLUMN_NUMBERING_SHOULD_BEGIN_FROM_ONE
Column numbering should begin from 1. -
CELL_OVERFLOW_SPECIFIED_COLUMN_COUNT
Table cell overflows the specified columns count -
COLUMN_NUMBER_IS_INCORRECT
The columns should be assigned consecutive numbers -
DUPLICATE_COLSPEC_NUMBER
Duplicate colspec's colnum. -
CELL_OVERLAPS_ONE_OR_MORE_PREVIOUS_CELLS
Cells overlapping error(as generals as it can be) -
ROW_HAS_COLNAME_AND_NAMEST_OR_NAMEEND
Column name (colname) attribute must not be present when column name start (namest) or column name end (nameend) are specified.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getMessage
- Specified by:
getMessage
in interfaceTableLayoutProblem
- Returns:
- Returns the problem message to be presented to the user.
- See Also:
-
getSeverity
- Specified by:
getSeverity
in interfaceTableLayoutProblem
- Returns:
- Returns the problem severity, one of
TableLayoutProblem.Severity
constants. - See Also:
-