mil.dod.th.word.htm.doclet/src/org/udri/doclet/msword/MSHTMLDoclet.java
private static void writeTags(Doc doc) {
        if (doc.tags().length == 0) {
            return;
        }

        StringBuilder tagsStr = new StringBuilder("");
        for (Tag tag : doc.tags()) {
            Taglet taglet = _options
                    .getTagletForName(tag.name().length() > 1 ? tag.name()
                            .substring(1) : "");
            if ((taglet instanceof Tags)) {
                tagsStr.append(((Tags) taglet).toMSHTML(tag));
            }
        }

        _msHTM.println(tagsStr);
    }
/**
     * Write the comment and any Tags, block or inline
     * 
     * @param doc
     *            the comment block
     */
Write the comment and any Tags, block or inline

@param doc
the comment block
Write the comment and any Tags block or inline @param doc the comment block
private static void writeTags(Doc doc) {
        if (doc.tags().length == 0) {
            return;
        }
        StringBuilder tagsStr = new StringBuilder("");
        for (Tag tag : doc.tags()) {
            Taglet taglet = _options
                    .getTagletForName(tag.name().length() > 1 ? tag.name()
                            .substring(1) : "");
            if ((taglet instanceof Tags)) {
                tagsStr.append(((Tags) taglet).toMSHTML(tag));
            }
        }
        _msHTM.println(tagsStr);
    }
private static void writeTags ( Doc doc ) { if ( doc . tags ( ) . length == 0 ) { return ; } StringBuilder tagsStr = new StringBuilder ( "" ) ; for ( Tag tag : doc . tags ( ) ) { Taglet taglet = _options . getTagletForName ( tag . name ( ) . length ( ) > 1 ? tag . name ( ) . substring ( 1 ) : "" ) ; if ( ( taglet instanceof Tags ) ) { tagsStr . append ( ( ( Tags ) taglet ) . toMSHTML ( tag ) ) ; } } _msHTM . println ( tagsStr ) ; }
Write the comment and any Tags, block or inline
Write the comment and any Tags block or inline