1 57 package com.sun.org.apache.wml.internal.dom; 58 59 import com.sun.org.apache.wml.internal.*; 60 61 65 66 public class WMLPElementImpl extends WMLElementImpl implements WMLPElement { 67 68 public WMLPElementImpl (WMLDocumentImpl owner, String tagName) { 69 super( owner, tagName); 70 } 71 72 public void setClassName(String newValue) { 73 setAttribute("class", newValue); 74 } 75 76 public String getClassName() { 77 return getAttribute("class"); 78 } 79 80 public void setMode(String newValue) { 81 setAttribute("mode", newValue); 82 } 83 84 public String getMode() { 85 return getAttribute("mode"); 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 setId(String newValue) { 105 setAttribute("id", newValue); 106 } 107 108 public String getId() { 109 return getAttribute("id"); 110 } 111 112 } 113 | Popular Tags |