1 58 package org.apache.ecs.xhtml; 59 60 import org.apache.ecs.*; 61 62 70 public class title extends MultiPartElement implements Printable 71 { 72 75 { 76 setElementType("title"); 77 setCase(LOWERCASE); 78 setAttributeQuote(true); 79 } 80 81 85 public title() 86 { 87 } 88 89 93 public title(String title) 94 { 95 addElement(title); 96 } 97 98 102 public Element setLang(String lang) 103 { 104 addAttribute("lang",lang); 105 addAttribute("xml:lang",lang); 106 return this; 107 } 108 109 114 public title addElement(String hashcode,Element element) 115 { 116 addElementToRegistry(hashcode,element); 117 return(this); 118 } 119 120 125 public title addElement(String hashcode,String element) 126 { 127 addElementToRegistry(hashcode,element); 128 return(this); 129 } 130 131 135 public title addElement(Element element) 136 { 137 addElementToRegistry(element); 138 return(this); 139 } 140 141 145 public title addElement(String element) 146 { 147 addElementToRegistry(element); 148 return(this); 149 } 150 154 public title removeElement(String hashcode) 155 { 156 removeElementFromRegistry(hashcode); 157 return(this); 158 } 159 160 } 161 | Popular Tags |