com.aoindustries.website.skintags
Class PageTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.aoindustries.website.skintags.PageTag
- 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
- Direct Known Subclasses:
- ChildTag, ParentTag
public abstract class PageTag
- extends javax.servlet.jsp.tagext.BodyTagSupport
- implements KeywordsAttribute, DescriptionAttribute, AuthorAttribute, CopyrightAttribute, PathAttribute, MetasAttribute, TitleAttribute, NavImageAltAttribute, EncryptAttribute
Common parent to parent and child tags.
- Author:
- AO Industries, Inc.
- See Also:
- Serialized Form
| 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 |
| 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 |
PageTag
public PageTag()
init
protected void init()
doStartTag
public int doStartTag()
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle in interface TitleAttribute
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle in interface TitleAttribute
getNavImageAlt
public java.lang.String getNavImageAlt()
- Specified by:
getNavImageAlt in interface NavImageAltAttribute
setNavImageAlt
public void setNavImageAlt(java.lang.String navImageAlt)
- Specified by:
setNavImageAlt in interface NavImageAltAttribute
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface DescriptionAttribute
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface DescriptionAttribute
getAuthor
public java.lang.String getAuthor()
- Specified by:
getAuthor in interface AuthorAttribute
setAuthor
public void setAuthor(java.lang.String author)
- Specified by:
setAuthor in interface AuthorAttribute
getCopyright
public java.lang.String getCopyright()
- Specified by:
getCopyright in interface CopyrightAttribute
setCopyright
public void setCopyright(java.lang.String copyright)
- Specified by:
setCopyright in interface CopyrightAttribute
getPath
public java.lang.String getPath()
- Specified by:
getPath in interface PathAttribute
setPath
public void setPath(java.lang.String path)
- Specified by:
setPath in interface PathAttribute
getKeywords
public java.lang.String getKeywords()
- Specified by:
getKeywords in interface KeywordsAttribute
setKeywords
public void setKeywords(java.lang.String keywords)
- Specified by:
setKeywords in interface KeywordsAttribute
getMetas
public java.util.Collection<Meta> getMetas()
- Specified by:
getMetas in interface MetasAttribute
addMeta
public void addMeta(Meta meta)
- Specified by:
addMeta in interface MetasAttribute
getEncrypt
public boolean getEncrypt()
- Specified by:
getEncrypt in interface EncryptAttribute
setEncrypt
public void setEncrypt(boolean encrypt)
- Specified by:
setEncrypt in interface EncryptAttribute
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
doEndTag
protected abstract 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
- Throws:
javax.servlet.jsp.JspException