1 27 package org.htmlparser; 28 29 import java.util.Hashtable ; 30 import java.util.Vector ; 31 32 import org.htmlparser.scanners.Scanner; 33 34 38 public interface Tag extends Node 39 { 40 46 public String getAttribute (String name); 47 48 54 public void setAttribute (String key, String value); 55 56 63 public void setAttribute (String key, String value, char quote); 64 65 69 public void removeAttribute (String key); 70 71 77 public Attribute getAttributeEx (String name); 78 79 85 public void setAttributeEx (Attribute attribute); 86 87 91 public Vector getAttributesEx (); 92 93 100 public void setAttributesEx (Vector attribs); 101 102 117 public Hashtable getAttributes (); 118 119 126 public void setAttributes (Hashtable attributes); 127 128 139 public String getTagName (); 140 141 147 public void setTagName (String name); 148 149 154 public String getRawTagName (); 155 156 161 public boolean breaksFlow (); 162 163 167 public boolean isEndTag (); 168 169 175 177 181 public boolean isEmptyXmlTag (); 182 183 189 public void setEmptyXmlTag (boolean emptyXmlTag); 190 191 196 public String [] getIds (); 197 198 206 public String [] getEnders (); 207 208 216 public String [] getEndTagEnders (); 217 218 223 public Tag getEndTag (); 224 225 230 public void setEndTag (Tag end); 231 232 236 public Scanner getThisScanner (); 237 238 242 public void setThisScanner (Scanner scanner); 243 244 248 public int getStartingLineNumber (); 249 253 public int getEndingLineNumber (); 254 } 255 | Popular Tags |