1 16 package org.apache.wml.dom; 17 18 import org.apache.wml.*; 19 20 25 public class WMLPElementImpl extends WMLElementImpl implements WMLPElement { 26 27 private static final long serialVersionUID = 3761128232321365815L; 28 29 public WMLPElementImpl (WMLDocumentImpl owner, String tagName) { 30 super( owner, tagName); 31 } 32 33 public void setClassName(String newValue) { 34 setAttribute("class", newValue); 35 } 36 37 public String getClassName() { 38 return getAttribute("class"); 39 } 40 41 public void setMode(String newValue) { 42 setAttribute("mode", newValue); 43 } 44 45 public String getMode() { 46 return getAttribute("mode"); 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 setId(String newValue) { 66 setAttribute("id", newValue); 67 } 68 69 public String getId() { 70 return getAttribute("id"); 71 } 72 73 } 74 | Popular Tags |