1 58 package org.apache.ecs.html; 59 60 import org.apache.ecs.*; 61 62 69 public class NOBR extends MultiPartElement implements Printable 70 { 71 74 { 75 setElementType("nobr"); 76 } 77 78 82 public NOBR() 83 { 84 } 85 86 92 public NOBR(Element element) 93 { 94 addElement(element); 95 } 96 97 103 public NOBR(String value) 104 { 105 addElement(value); 106 } 107 108 113 public NOBR addElement(String hashcode,Element element) 114 { 115 addElementToRegistry(hashcode,element); 116 return(this); 117 } 118 119 124 public NOBR addElement(String hashcode,String element) 125 { 126 addElementToRegistry(hashcode,element); 127 return(this); 128 } 129 130 134 public NOBR addElement(Element element) 135 { 136 addElementToRegistry(element); 137 return(this); 138 } 139 140 144 public NOBR addElement(String element) 145 { 146 addElementToRegistry(element); 147 return(this); 148 } 149 153 public NOBR removeElement(String hashcode) 154 { 155 removeElementFromRegistry(hashcode); 156 return(this); 157 } 158 } 159 | Popular Tags |