class CommentStructureHandler implements ICommentStructureHandler {


    boolean setContent;
    CharSequence setContentValue;

    boolean replaceWithModel;
    IModel replaceWithModelValue;
    boolean replaceWithModelProcessable;

    boolean removeComment;




    CommentStructureHandler() {
        super();
        reset();
    }



    public void setContent(final CharSequence content) {<FILL_FUNCTION_BODY>}


    public void replaceWith(final IModel model, final boolean processable) {
        reset();
        Validate.notNull(model, "Model cannot be null");
        this.replaceWithModel = true;
        this.replaceWithModelValue = model;
        this.replaceWithModelProcessable = processable;
    }


    public void removeComment() {
        reset();
        this.removeComment = true;
    }




    public void reset() {

        this.setContent = false;
        this.setContentValue = null;

        this.replaceWithModel = false;
        this.replaceWithModelValue = null;
        this.replaceWithModelProcessable = false;

        this.removeComment = false;

    }


}

        reset();
        Validate.notNull(content, "Content cannot be null");
        this.setContent = true;
        this.setContentValue = content;
    
<no_super_class>