1 58 package org.apache.ecs.html; 59 60 import org.apache.ecs.*; 61 62 69 public class Title extends MultiPartElement implements Printable 70 { 71 74 { 75 setElementType("title"); 76 } 77 78 82 public Title() 83 { 84 } 85 86 90 public Title(String title) 91 { 92 addElement(title); 93 } 94 95 100 public Title addElement(String hashcode,Element element) 101 { 102 addElementToRegistry(hashcode,element); 103 return(this); 104 } 105 106 111 public Title addElement(String hashcode,String element) 112 { 113 addElementToRegistry(hashcode,element); 114 return(this); 115 } 116 117 121 public Title addElement(Element element) 122 { 123 addElementToRegistry(element); 124 return(this); 125 } 126 127 131 public Title addElement(String element) 132 { 133 addElementToRegistry(element); 134 return(this); 135 } 136 140 public Title removeElement(String hashcode) 141 { 142 removeElementFromRegistry(hashcode); 143 return(this); 144 } 145 146 } 147 | Popular Tags |