- All Implemented Interfaces:
ElementWriter
,DynamicAttributes
,JspTag
,SimpleTag
Writes a link to a file.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected File
protected void
doBody
(File file, CaptureLevel captureLevel) void
setBook
(ValueExpression book) void
setHidden
(boolean hidden) void
setPath
(ValueExpression path) void
writeTo
(Writer out, ElementContext context) Methods inherited from class com.semanticcms.core.taglib.ElementTag
addDynamicAttribute, doTag, evaluateAttributes, getElement, setDynamicAttribute, setId
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
-
Constructor Details
-
FileTag
public FileTag()
-
-
Method Details
-
setBook
-
setPath
-
setHidden
public void setHidden(boolean hidden) -
createElement
- Specified by:
createElement
in classElementTag<File>
-
doBody
- Overrides:
doBody
in classElementTag<File>
- Throws:
JspException
IOException
-
writeTo
- Throws:
IOException
-