|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.commons.table.support.CALSColSpec
public class CALSColSpec
The column specification for a CALS table model (e.g. DocBook or DITA tables).
Constructor Summary | |
---|---|
CALSColSpec(int colNumber,
String colName,
String colWidth)
Constructor. |
|
CALSColSpec(int colNumber,
String colName,
WidthRepresentation colWidth)
Constructor. |
Method Summary | |
---|---|
String |
createXMLFragment(String ns)
Creates the XML fragment corresponding to the column specification obtained from the colNumber , colName and
colWidth fields. |
String |
getColumnName()
|
int |
getColumnNumber()
|
WidthRepresentation |
getColWidth()
|
void |
setColWidth(WidthRepresentation colWidth)
Set the new WidthRepresentation corresponding to the column specification. |
String |
toString()
Creates a String representation of the column specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CALSColSpec(int colNumber, String colName, String colWidth)
colNumber
- The number of the column. It is 1 based.colName
- The name of the column.colWidth
- The string representation of the column width
as described in the WidthRepresentation
.public CALSColSpec(int colNumber, String colName, WidthRepresentation colWidth)
colNumber
- The number of this column. It is 1 based.colName
- The name of this column.colWidth
- The column width representation.Method Detail |
---|
public int getColumnNumber()
public String getColumnName()
public WidthRepresentation getColWidth()
public String toString()
toString
in class Object
Object.toString()
public String createXMLFragment(String ns)
colNumber
, colName
and
colWidth
fields.
<colspec colnum="integer_value" colname="string_value" colwidth="string_value" xmlns="URI"/>
ns
- The namespace URI of the table element. It can be null
.
public void setColWidth(WidthRepresentation colWidth)
WidthRepresentation
corresponding to the column specification.
colWidth
- The column width to be set.
|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |