public void handleStartTag()

in maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/GeneratorUtils.java [374:398]


        public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos) {
            simpleTag = false;
            if (body && (t.breaksFlow() || t.isBlock())) {
                newline(true);
            }
            if (HTML.Tag.OL.equals(t)) {
                numbering.push(new Counter());
            } else if (HTML.Tag.UL.equals(t)) {
                numbering.push(null);
            } else if (HTML.Tag.LI.equals(t)) {
                Counter counter = numbering.peek();
                if (counter == null) {
                    text("-\t");
                } else {
                    text(++counter.value + ".\t");
                }
                depth++;
            } else if (HTML.Tag.DD.equals(t)) {
                depth++;
            } else if (t.isPreformatted()) {
                preformatted++;
            } else if (HTML.Tag.BODY.equals(t)) {
                body = true;
            }
        }