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