1 58 package org.apache.ecs.xhtml; 59 60 import org.apache.ecs.*; 61 62 70 public class nobr extends MultiPartElement implements Printable 71 { 72 75 { 76 setElementType("nobr"); 77 setCase(LOWERCASE); 78 setAttributeQuote(true); 79 } 80 81 85 public nobr() 86 { 87 } 88 89 95 public nobr(Element element) 96 { 97 addElement(element); 98 } 99 100 106 public nobr(String value) 107 { 108 addElement(value); 109 } 110 111 115 public Element setLang(String lang) 116 { 117 addAttribute("lang",lang); 118 addAttribute("xml:lang",lang); 119 return this; 120 } 121 122 127 public nobr addElement(String hashcode,Element element) 128 { 129 addElementToRegistry(hashcode,element); 130 return(this); 131 } 132 133 138 public nobr addElement(String hashcode,String element) 139 { 140 addElementToRegistry(hashcode,element); 141 return(this); 142 } 143 144 148 public nobr addElement(Element element) 149 { 150 addElementToRegistry(element); 151 return(this); 152 } 153 154 158 public nobr addElement(String element) 159 { 160 addElementToRegistry(element); 161 return(this); 162 } 163 167 public nobr removeElement(String hashcode) 168 { 169 removeElementFromRegistry(hashcode); 170 return(this); 171 } 172 } 173 | Popular Tags |