Search in sources :

Example 1 with CommentBlock

use of com.dexels.navajo.document.navascript.tags.CommentBlock in project navajo by Dexels.

the class NavascriptSaxHandler method addComment.

@Override
public void addComment(String c) {
    CommentBlock cb = new CommentBlock();
    cb.setComment(c);
    if (currentNode != null && currentNode.size() > 0) {
        NS3Compatible cn = (NS3Compatible) currentNode.lastElement();
        cn.addComment(cb);
    }
}
Also used : CommentBlock(com.dexels.navajo.document.navascript.tags.CommentBlock) NS3Compatible(com.dexels.navajo.document.navascript.tags.NS3Compatible)

Aggregations

CommentBlock (com.dexels.navajo.document.navascript.tags.CommentBlock)1 NS3Compatible (com.dexels.navajo.document.navascript.tags.NS3Compatible)1