|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--com.windgazer.util.io.taglib.FileTag
This Tag opens a file, embedded tags should be used to display any information associated with it. By default opens the jsp-file in which it is embedded. Alternate file may be supplied by calling the setName method. If no filename is set and no HttpServletRequest can be found the site-root becomes the default file.
| Field Summary |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| 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 | |
FileTag()
Default constructor, all subclasses are required to only define a public constructor with the same signature, and to call the superclass constructor. |
|
| Method Summary | |
int |
doAfterBody()
Implementation of the BodyTagSupport Class. |
int |
doEndTag()
Implementation of the BodyTagSupport Class. |
int |
doStartTag()
Implementation of the BodyTagSupport Class. |
java.io.File |
getFile()
Implementation of the FileProvider interface. |
void |
setName(java.lang.String myName)
Setter to be called when the name property of this tag is invoked. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileTag()
| Method Detail |
public void setName(java.lang.String myName)
myName - The value of the filename that this tag should open.public java.io.File getFile()
getFile in interface FileProviderFileProvider.getFile()
public int doStartTag()
throws javax.servlet.jsp.JspTagException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspTagException
public int doAfterBody()
throws javax.servlet.jsp.JspTagException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagdoAfterBody in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspTagException
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||