class SubSidebarTag extends SidebarTag {

    private SidebarTag parent;
    private String body;

    /**
     * Returns the body content of this tag.
     * @return the body of the tag
     */
    public String getBody() {
        return body;
    }

    /**
     * Sets the body content of this tag.
     * @param body the body of this tag
     */
    public void setBody(String body) {
        this.body = body;
    }

    /**
     * Looks for the parent SidebarTag class, throws an error if not found. If found,
     * {@link #EVAL_BODY_BUFFERED} is returned.
     *
     * @return {@link #EVAL_BODY_BUFFERED} if no errors.
     * @throws javax.servlet.jsp.JspException if a parent SidebarTag is not found.
     */
    @Override
    public int doStartTag() throws JspException {<FILL_FUNCTION_BODY>}

    /**
     * Sets the 'body' property to be equal to the body content of this tag. Calls the
     * {@link SidebarTag#setSubSidebar(SubSidebarTag)} method of the parent tag.
     * @return {@link #EVAL_PAGE}
     * @throws JspException if an error occurs.
     */
    @Override
    public int doEndTag() throws JspException {
        setBody(bodyContent.getString());
        parent.setSubSidebar(this);
        return EVAL_PAGE;
    }
}

        // The I18nTag should be our parent Tag
        parent = (SidebarTag)findAncestorWithClass(this, SidebarTag.class);

        // If I18nTag was not our parent, throw Exception
        if (parent == null) {
            throw new JspTagException("SubSidebarTag with out a parent which is expected to be a SidebarTag");
        }
        return EVAL_BODY_BUFFERED;
    
<methods>public non-sealed void <init>() ,public int doEndTag() throws JspException,public int doStartTag() throws JspException,public java.lang.String getCss() ,public java.lang.String getCurrentcss() ,public java.lang.String getHeadercss() ,public org.jivesoftware.admin.SubSidebarTag getSubsidebarTag() ,public void setCss(java.lang.String) ,public void setCurrentcss(java.lang.String) ,public void setHeadercss(java.lang.String) ,public void setSubSidebar(org.jivesoftware.admin.SubSidebarTag) <variables>private java.lang.String css,private java.lang.String currentcss,private java.lang.String headercss,private org.jivesoftware.admin.SubSidebarTag subsidebarTag