1 16 package org.apache.wml.dom; 17 18 import org.apache.wml.*; 19 20 25 public class WMLCardElementImpl extends WMLElementImpl implements WMLCardElement { 26 27 private static final long serialVersionUID = 3257005466683781686L; 28 29 public WMLCardElementImpl (WMLDocumentImpl owner, String tagName) { 30 super( owner, tagName); 31 } 32 33 public void setOnTimer(String newValue) { 34 setAttribute("ontimer", newValue); 35 } 36 37 public String getOnTimer() { 38 return getAttribute("ontimer"); 39 } 40 41 public void setOrdered(boolean newValue) { 42 setAttribute("ordered", newValue); 43 } 44 45 public boolean getOrdered() { 46 return getAttribute("ordered", true); 47 } 48 49 public void setOnEnterBackward(String newValue) { 50 setAttribute("onenterbackward", newValue); 51 } 52 53 public String getOnEnterBackward() { 54 return getAttribute("onenterbackward"); 55 } 56 57 public void setClassName(String newValue) { 58 setAttribute("class", newValue); 59 } 60 61 public String getClassName() { 62 return getAttribute("class"); 63 } 64 65 public void setXmlLang(String newValue) { 66 setAttribute("xml:lang", newValue); 67 } 68 69 public String getXmlLang() { 70 return getAttribute("xml:lang"); 71 } 72 73 public void setTitle(String newValue) { 74 setAttribute("title", newValue); 75 } 76 77 public String getTitle() { 78 return getAttribute("title"); 79 } 80 81 public void setNewContext(boolean newValue) { 82 setAttribute("newcontext", newValue); 83 } 84 85 public boolean getNewContext() { 86 return getAttribute("newcontext", false); 87 } 88 89 public void setId(String newValue) { 90 setAttribute("id", newValue); 91 } 92 93 public String getId() { 94 return getAttribute("id"); 95 } 96 97 public void setOnEnterForward(String newValue) { 98 setAttribute("onenterforward", newValue); 99 } 100 101 public String getOnEnterForward() { 102 return getAttribute("onenterforward"); 103 } 104 105 } 106 | Popular Tags |