1 58 package org.apache.ecs.xhtml; 59 60 import org.apache.ecs.*; 61 62 70 public class blink extends MultiPartElement implements Printable 71 { 72 75 { 76 setElementType("blink"); 77 setCase(LOWERCASE); 78 setAttributeQuote(true); 79 } 80 83 public blink() 84 { 85 } 86 87 91 public blink(Element element) 92 { 93 addElement(element); 94 } 95 96 100 public blink(String element) 101 { 102 addElement(element); 103 } 104 105 109 public Element setLang(String lang) 110 { 111 addAttribute("lang",lang); 112 addAttribute("xml:lang",lang); 113 return this; 114 } 115 116 121 public blink addElement(String hashcode,Element element) 122 { 123 addElementToRegistry(hashcode,element); 124 return(this); 125 } 126 127 132 public blink addElement(String hashcode,String element) 133 { 134 addElementToRegistry(hashcode,element); 135 return(this); 136 } 137 138 142 public blink addElement(Element element) 143 { 144 addElementToRegistry(element); 145 return(this); 146 } 147 148 152 public blink addElement(String element) 153 { 154 addElementToRegistry(element); 155 return(this); 156 } 157 161 public blink removeElement(String hashcode) 162 { 163 removeElementFromRegistry(hashcode); 164 return(this); 165 } 166 } 167 | Popular Tags |