com.aoindustries.website.skintags
Class ParentTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.aoindustries.website.skintags.PageTag
              extended by com.aoindustries.website.skintags.ParentTag
All Implemented Interfaces:
AuthorAttribute, CopyrightAttribute, DescriptionAttribute, EncryptAttribute, KeywordsAttribute, MetasAttribute, NavImageAltAttribute, PathAttribute, TitleAttribute, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ParentTag
extends PageTag

Adds a parent to the hierarchy above this page.

Author:
AO Industries, Inc.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ParentTag()
           
 
Method Summary
 void addChild(Child child)
           
protected  int doEndTag(java.lang.String title, java.lang.String navImageAlt, java.lang.String description, java.lang.String author, java.lang.String copyright, boolean useEncryption, java.lang.String path, java.lang.String keywords, java.util.Collection<Meta> metas)
           
 int doStartTag()
           
 java.util.List<Child> getChildren()
          Gets the children of this parent page.
protected  void init()
           
 
Methods inherited from class com.aoindustries.website.skintags.PageTag
addMeta, doEndTag, getAuthor, getCopyright, getDescription, getEncrypt, getKeywords, getMetas, getNavImageAlt, getPath, getTitle, setAuthor, setCopyright, setDescription, setEncrypt, setKeywords, setNavImageAlt, setPath, setTitle
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

ParentTag

public ParentTag()
Method Detail

init

protected void init()
Overrides:
init in class PageTag

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class PageTag

getChildren

public java.util.List<Child> getChildren()
Gets the children of this parent page.


addChild

public void addChild(Child child)

doEndTag

protected int doEndTag(java.lang.String title,
                       java.lang.String navImageAlt,
                       java.lang.String description,
                       java.lang.String author,
                       java.lang.String copyright,
                       boolean useEncryption,
                       java.lang.String path,
                       java.lang.String keywords,
                       java.util.Collection<Meta> metas)
                throws javax.servlet.jsp.JspException
Specified by:
doEndTag in class PageTag
Throws:
javax.servlet.jsp.JspException