1 21 package org.apache.derbyBuild.javadoc; 22 23 import com.sun.tools.doclets.Taglet; 24 import com.sun.javadoc.*; 25 import java.util.Map ; 26 27 29 public class EndFormatTaglet implements Taglet { 30 private String NAME = "end_format"; 31 private String ROWNAME = "end_format"; 32 33 37 public String getName() { 38 return NAME; 39 } 40 41 45 public boolean inField() { 46 return false; 47 } 48 49 53 public boolean inConstructor() { 54 return false; 55 } 56 57 61 public boolean inMethod() { 62 return false; 63 } 64 65 69 public boolean inOverview() { 70 return true; 71 } 72 73 77 public boolean inPackage() { 78 return true; 79 } 80 81 85 public boolean inType() { 86 return true; 87 } 88 89 93 public boolean isInlineTag() { 94 return false; 95 } 96 97 101 public static void register(Map tagletMap) { 102 EndFormatTaglet tag = new EndFormatTaglet(); 103 Taglet t = (Taglet) tagletMap.get(tag.getName()); 104 if (t != null) { 105 tagletMap.remove(tag.getName()); 106 } 107 tagletMap.put(tag.getName(), tag); 108 } 109 110 114 public String toString(Tag tag) { 115 return ""; 116 } 117 118 122 public String toString(Tag[] tags) { 123 if (tags.length == 0) { 124 return null; 125 } 126 String result = ""; 127 for (int i = 0; i < tags.length; i++) { 128 if (i > 0) { 129 result += ""; 130 } 131 result += ""; 132 } 133 return result + "\n"; 134 } 135 } 136 137 | Popular Tags |