1 16 package org.apache.wml.dom; 17 18 import org.apache.wml.*; 19 20 25 public class WMLTableElementImpl extends WMLElementImpl implements WMLTableElement { 26 27 private static final long serialVersionUID = 3978428026738194488L; 28 29 public WMLTableElementImpl (WMLDocumentImpl owner, String tagName) { 30 super( owner, tagName); 31 } 32 33 public void setColumns(int newValue) { 34 setAttribute("columns", newValue); 35 } 36 37 public int getColumns() { 38 return getAttribute("columns", 0); 39 } 40 41 public void setClassName(String newValue) { 42 setAttribute("class", newValue); 43 } 44 45 public String getClassName() { 46 return getAttribute("class"); 47 } 48 49 public void setXmlLang(String newValue) { 50 setAttribute("xml:lang", newValue); 51 } 52 53 public String getXmlLang() { 54 return getAttribute("xml:lang"); 55 } 56 57 public void setAlign(String newValue) { 58 setAttribute("align", newValue); 59 } 60 61 public String getAlign() { 62 return getAttribute("align"); 63 } 64 65 public void setTitle(String newValue) { 66 setAttribute("title", newValue); 67 } 68 69 public String getTitle() { 70 return getAttribute("title"); 71 } 72 73 public void setId(String newValue) { 74 setAttribute("id", newValue); 75 } 76 77 public String getId() { 78 return getAttribute("id"); 79 } 80 81 } 82 | Popular Tags |