|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TableCellScope>
org.qtitools.qti.value.TableCellScope
public enum TableCellScope
row
col
rowgroup
colgroup
| Enum Constant Summary | |
|---|---|
COL
Col type. |
|
COLGROUP
Colgroup type. |
|
ROW
Row type. |
|
ROWGROUP
Rowgroup type. |
|
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_TAG
Name of this class in xml schema. |
| Method Summary | |
|---|---|
static TableCellScope[] |
intersection(TableCellScope[] firstSet,
TableCellScope[] secondSet)
Returns intersection of two given types sets (order is not important). |
boolean |
isCol()
Returns true if this tableCellScope is col; false otherwise. |
boolean |
isColgroup()
Returns true if this tableCellScope is colgroup; false otherwise. |
boolean |
isRow()
Returns true if this tableCellScope is row; false otherwise. |
boolean |
isRowgroup()
Returns true if this tableCellScope is rowgroup; false otherwise. |
static TableCellScope |
parseTableCellScope(java.lang.String tableCellScope)
Returns parsed TableCellScopeType from given String. |
java.lang.String |
toString()
|
static TableCellScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TableCellScope[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TableCellScope ROW
public static final TableCellScope COL
public static final TableCellScope ROWGROUP
public static final TableCellScope COLGROUP
| Field Detail |
|---|
public static final java.lang.String CLASS_TAG
| Method Detail |
|---|
public static final TableCellScope[] values()
for(TableCellScope c : TableCellScope.values())
System.out.println(c);
public static TableCellScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic boolean isRow()
public boolean isCol()
public boolean isRowgroup()
public boolean isColgroup()
public java.lang.String toString()
toString in class java.lang.Enum<TableCellScope>
public static TableCellScope parseTableCellScope(java.lang.String tableCellScope)
throws QTIParseException
TableCellScopeType from given String.
tableCellScope - String representation of TableCellScopeType
TableCellScopeType from given String
QTIParseException - if given String is not valid TableCellScopeType
public static TableCellScope[] intersection(TableCellScope[] firstSet,
TableCellScope[] secondSet)
firstSet - first set of typessecondSet - second set of types
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||