1 26 package org.htmlparser.tags; 27 28 31 public class ParagraphTag extends CompositeTag 32 { 33 36 private static final String [] mIds = new String [] {"P"}; 37 38 41 private static final String [] mEnders = new String [] {"ADDRESS", "BLOCKQUOTE", "CENTER", "DD", "DIR", "DIV", "DL", "DT", "FIELDSET", "FORM", "H1", "H2", "H3", "H4", "H5", "H6", "HR", "ISINDEX", "LI", "MENU", "NOFRAMES", "OL", "P", "PARAM", "PRE", "UL"}; 42 43 46 private static final String [] mEndTagEnders = new String [] {"BODY", "HTML"}; 47 48 51 public ParagraphTag () 52 { 53 } 54 55 59 public String [] getIds () 60 { 61 return (mIds); 62 } 63 64 68 public String [] getEnders () 69 { 70 return (mEnders); 71 } 72 73 77 public String [] getEndTagEnders () 78 { 79 return (mEndTagEnders); 80 } 81 } 82 | Popular Tags |