1 57 package org.enhydra.apache.wml.dom; 58 59 import org.enhydra.apache.wml.WMLTableElement; 60 61 65 66 public class WMLTableElementImpl extends WMLElementImpl implements WMLTableElement { 67 68 public WMLTableElementImpl (WMLDocumentImpl owner, String tagName) { 69 super( owner, tagName); 70 } 71 72 public void setColumns(int newValue) { 73 setAttribute("columns", newValue); 74 } 75 76 public int getColumns() { 77 return getAttribute("columns", 0); 78 } 79 80 public void setClassName(String newValue) { 81 setAttribute("class", newValue); 82 } 83 84 public String getClassName() { 85 return getAttribute("class"); 86 } 87 88 public void setXmlLang(String newValue) { 89 setAttribute("xml:lang", newValue); 90 } 91 92 public String getXmlLang() { 93 return getAttribute("xml:lang"); 94 } 95 96 public void setAlign(String newValue) { 97 setAttribute("align", newValue); 98 } 99 100 public String getAlign() { 101 return getAttribute("align"); 102 } 103 104 public void setTitle(String newValue) { 105 setAttribute("title", newValue); 106 } 107 108 public String getTitle() { 109 return getAttribute("title"); 110 } 111 112 public void setId(String newValue) { 113 setAttribute("id", newValue); 114 } 115 116 public String getId() { 117 return getAttribute("id"); 118 } 119 120 } 121 | Popular Tags |