1 58 package org.apache.ecs.xhtml; 59 60 import org.apache.ecs.*; 61 62 70 public class bdo extends MultiPartElement implements Printable 71 { 72 75 76 { 77 setElementType("bdo"); 78 setCase(LOWERCASE); 79 setAttributeQuote(true); 80 } 81 82 85 public bdo() 86 { 87 } 88 92 public bdo(String dir) 93 { 94 setDir(dir); 95 } 96 97 101 public Element setLang(String lang) 102 { 103 addAttribute("lang",lang); 104 addAttribute("xml:lang",lang); 105 return this; 106 } 107 108 113 public bdo addElement(String hashcode,Element element) 114 { 115 addElementToRegistry(hashcode,element); 116 return(this); 117 } 118 119 124 public bdo addElement(String hashcode,String element) 125 { 126 addElementToRegistry(hashcode,element); 127 return(this); 128 } 129 133 public bdo addElement(Element element) 134 { 135 addElementToRegistry(element); 136 return(this); 137 } 138 139 143 public bdo addElement(String element) 144 { 145 addElementToRegistry(element); 146 return(this); 147 } 148 152 public bdo removeElement(String hashcode) 153 { 154 removeElementFromRegistry(hashcode); 155 return(this); 156 } 157 } 158 | Popular Tags |