public class ServiceLogoTag extends ServiceTagSupport
| Modifier and Type | Field and Description |
|---|---|
private String |
altTxt
Bean storage.
|
private static String |
DEFAULT_ALT_TXT
what to emit as alt txt if all else fails.
|
private static String |
DEFAULT_VALUE
what to emit if the jsp has nothing.
|
private static Logger |
log
Class logger.
|
private int |
maxHeight
Bean storage.
|
private int |
maxWidth
Bean storage.
|
private int |
minHeight
Bean storage.
|
private int |
minWidth
Bean storage.
|
private static long |
serialVersionUID
Serial ID.
|
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
ServiceLogoTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
private String |
getAltText()
Find what the user specified for alt txt.
|
private String |
getHyperlink()
Given the url build an appropriate <a href=...
|
private String |
getLogoFromUIInfo()
Get an appropriate Logo from UIInfo.
|
void |
setAlt(String value)
Bean setter.
|
void |
setMaxHeight(Integer value)
Bean setter.
|
void |
setMaxWidth(Integer value)
Set the maximum width of the logo.
|
void |
setMinHeight(Integer value)
Set the minimum height.
|
void |
setMinWidth(Integer value)
Set the minimum width of the logo.
|
addClassAndId, buildHyperLink, getRelyingPartyUIContext, getServiceName, setCssClass, setCssId, setCssStyle, setUiContextdoAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentprivate static final long serialVersionUID
private static Logger log
private static final String DEFAULT_VALUE
private static final String DEFAULT_ALT_TXT
private int minWidth
private int maxWidth
private int minHeight
private int maxHeight
private String altTxt
public void setMaxWidth(Integer value)
value - what to setpublic void setMinWidth(Integer value)
value - what to setpublic void setMinHeight(Integer value)
value - what to setpublic void setMaxHeight(Integer value)
value - what to setpublic void setAlt(String value)
value - what to set@Nullable private String getLogoFromUIInfo()
@Nullable private String getAltText()
@Nullable private String getHyperlink()
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspExceptionCopyright © 1999–2015. All rights reserved.