org.araneaframework.jsp.tag.presentation
Class BaseImageHtmlTag
java.lang.Object
org.araneaframework.jsp.tag.BaseTag
org.araneaframework.jsp.tag.PresentationTag
org.araneaframework.jsp.tag.presentation.BaseImageTag
org.araneaframework.jsp.tag.presentation.BaseImageHtmlTag
- All Implemented Interfaces:
- AttributedTagInterface, ContainedTagInterface, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
- public abstract class BaseImageHtmlTag
- extends BaseImageTag
Standard image base tag.
- Author:
- Oleg Mürk
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
Method Summary |
protected int |
doStartTag(Writer out)
Internal callback: before tag. |
void |
writeImage(Writer out,
String src,
String width,
String height,
String title)
Method to write out image with given properties and default style. |
static void |
writeImage(Writer out,
String src,
String width,
String height,
String styleClass,
String title)
Static method to write out image with given properties. |
static void |
writeImage(Writer out,
String src,
String width,
String height,
String alt,
String styleClass,
String title)
Static method to write out image with given properties. |
void |
writeImageLocal(Writer out,
String src,
String width,
String height,
String alt,
String styleClass,
String title)
|
| Methods inherited from class org.araneaframework.jsp.tag.BaseTag |
addContextEntry, doCatch, doEndTag, doEndTag, doFinally, doStartTag, evaluate, evaluateNotNull, executeEndSubtag, executeEndTagAndUnregister, executeStartSubtag, executeSubtag, getConfiguration, getContextEntry, getContextWidget, getContextWidgetFullId, getEnvironment, getLocalizationContext, getOutputData, getParent, hideGlobalContextEntries, registerAndExecuteStartTag, registerSubtag, release, requireContextEntry, restoreGlobalContextEntries, setParent, unregisterSubtag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseImageHtmlTag
public BaseImageHtmlTag()
doStartTag
protected int doStartTag(Writer out)
throws Exception
- Description copied from class:
BaseTag
- Internal callback: before tag.
- Overrides:
doStartTag in class BaseImageTag
- Throws:
Exception
writeImage
public void writeImage(Writer out,
String src,
String width,
String height,
String title)
throws javax.servlet.jsp.JspException,
IOException
- Method to write out image with given properties and default style.
- Throws:
javax.servlet.jsp.JspException
IOException
writeImageLocal
public void writeImageLocal(Writer out,
String src,
String width,
String height,
String alt,
String styleClass,
String title)
throws javax.servlet.jsp.JspException,
IOException
- Throws:
javax.servlet.jsp.JspException
IOException
writeImage
public static void writeImage(Writer out,
String src,
String width,
String height,
String styleClass,
String title)
throws javax.servlet.jsp.JspException,
IOException
- Static method to write out image with given properties.
- Throws:
javax.servlet.jsp.JspException
IOException
writeImage
public static void writeImage(Writer out,
String src,
String width,
String height,
String alt,
String styleClass,
String title)
throws javax.servlet.jsp.JspException,
IOException
- Static method to write out image with given properties.
- Throws:
javax.servlet.jsp.JspException
IOException