1 22 package org.enhydra.wireless.wml.dom.xerces; 23 24 import org.enhydra.wireless.wml.dom.WMLDoElement; 25 26 public class WMLDoElementImpl extends WMLElementImpl implements WMLDoElement { 27 28 public WMLDoElementImpl(WMLDocumentImpl owner, String namespaceURI, String qualifiedName) { 29 super(owner, namespaceURI, qualifiedName); 30 } 31 32 public void setOptional(boolean newValue) { 33 setAttribute("optional", newValue); 34 } 35 36 public boolean getOptional() { 37 return getAttribute("optional", false); 38 } 39 40 public void setClassName(String newValue) { 41 setAttribute("class", newValue); 42 } 43 44 public String getClassName() { 45 return getAttribute("class"); 46 } 47 48 public void setXmlLang(String newValue) { 49 setAttribute("xml:lang", newValue); 50 } 51 52 public String getXmlLang() { 53 return getAttribute("xml:lang"); 54 } 55 56 public void setId(String newValue) { 57 setAttribute("id", newValue); 58 } 59 60 public String getId() { 61 return getAttribute("id"); 62 } 63 64 public void setLabel(String newValue) { 65 setAttribute("label", newValue); 66 } 67 68 public String getLabel() { 69 return getAttribute("label"); 70 } 71 72 public void setType(String newValue) { 73 setAttribute("type", newValue); 74 } 75 76 public String getType() { 77 return getAttribute("type"); 78 } 79 80 public void setName(String newValue) { 81 setAttribute("name", newValue); 82 } 83 84 public String getName() { 85 return getAttribute("name"); 86 } 87 88 } 89 | Popular Tags |