- * @cdk.bug 1095690 - *- */ -public class CDKBugTaglet implements Taglet { - - private static final String NAME = "cdk.bug"; - - public String getName() { - return NAME; - } - - public boolean inField() { - return false; - } - - public boolean inConstructor() { - return false; - } - - public boolean inMethod() { - return false; - } - - public boolean inOverview() { - return false; - } - - public boolean inPackage() { - return false; - } - - public boolean inType() { - return true; - } - - public boolean isInlineTag() { - return false; - } - - public static void register(Map
- * This class does nothing {@cdk.cite NULL}. - *- * For this code a reference is created like this: - *
- * NULL - *- * - *
Citations can be singular, like The known dictionaries are:
- * {@cdk.cite BLA}
,
- * and multiple, like {@cdk.cite BLA,BLA2,FOO}
.
- */
-public class CDKCiteTaglet implements Taglet {
-
- private static final String NAME = "cdk.cite";
-
- private static BibTeXMLFile bibtex = null;
-
- static {
- try {
- Builder parser = new Builder();
- Document doc = parser.build(new File("doc/refs/cheminf.bibx"));
- bibtex = new BibTeXMLFile(doc.getRootElement());
- } catch (Exception exc) {
- System.out.println("Horrible problem: " + exc.getMessage());
- exc.printStackTrace();
- }
- }
-
- public String getName() {
- return NAME;
- }
-
- public boolean inField() {
- return true;
- }
-
- public boolean inConstructor() {
- return true;
- }
-
- public boolean inMethod() {
- return true;
- }
-
- public boolean inOverview() {
- return true;
- }
-
- public boolean inPackage() {
- return true;
- }
-
- public boolean inType() {
- return true;
- }
-
- public boolean isInlineTag() {
- return true;
- }
-
- public static void register(Map
- * @cdk.dictref blue-obelisk:graphPartitioning
- *
- *
- *
- *
- */
-public class CDKDictRefTaglet implements Taglet {
-
- private static final String NAME = "cdk.dictref";
-
- private static final Map
- * @cdk.inchi InChI=1/CH4/h1H4 - *- */ -public class CDKInChITaglet implements Taglet { - - private static final String NAME = "cdk.inchi"; - - public String getName() { - return NAME; - } - - public boolean inField() { - return false; - } - - public boolean inConstructor() { - return false; - } - - public boolean inMethod() { - return true; - } - - public boolean inOverview() { - return false; - } - - public boolean inPackage() { - return false; - } - - public boolean inType() { - return true; - } - - public boolean isInlineTag() { - return false; - } - - public static void register(Map
- * @cdk.svnrev $Revision: 7973 $ - *- * - *
The actual version number is automatically updated by the
- * SVN repository.
- */
-public class CDKSVNTaglet implements Taglet {
-
- private static final String NAME = "cdk.svnrev";
- private final static Pattern svnrevPattern = Pattern.compile("\\$Revision:\\s*(\\d*)\\s*\\$");
- private final static Pattern pathPattern = Pattern.compile(".*/(src/.*\\.java)");
-
- public String getName() {
- return NAME;
- }
-
- public boolean inField() {
- return false;
- }
-
- public boolean inConstructor() {
- return false;
- }
-
- public boolean inMethod() {
- return false;
- }
-
- public boolean inOverview() {
- return false;
- }
-
- public boolean inPackage() {
- return false;
- }
-
- public boolean inType() {
- return true;
- }
-
- public boolean isInlineTag() {
- return false;
- }
-
- public static void register(Map