public class ServiceContactTag extends ServiceTagSupport
| Modifier and Type | Field and Description |
|---|---|
private String |
contactName
bean storage for the name attribute.
|
private ContactPersonTypeEnumeration |
contactType
storage for the contactType bean.
|
private static org.slf4j.Logger |
log
Class logger.
|
private static long |
serialVersionUID
Serial ID.
|
| Constructor and Description |
|---|
ServiceContactTag() |
| Modifier and Type | Method and Description |
|---|---|
private String |
buildURL(String email,
String name)
Return either the name raw or garnished in a hyperlink.
|
int |
doEndTag() |
protected String |
getContactFromEntity()
build an appropriate string from the <EntityDescriptor>.
|
private String |
getStringFromContact(ContactPerson contact)
build an appropriate string from the <Contact>.
|
void |
setContactType(String type)
Setter for the contactType bean.
|
void |
setName(String name)
Set the contact name.
|
addClassAndId, buildHyperLink, getRelyingPartyUIContext, getServiceName, setCssClass, setCssId, setCssStyle, setUiContextdoAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueprivate static final long serialVersionUID
private static org.slf4j.Logger log
private ContactPersonTypeEnumeration contactType
private String contactName
public void setContactType(@Nullable String type)
type - in valuepublic void setName(@Nullable String name)
name - new value@Nullable private String buildURL(@Nullable String email, @Nullable String name)
email - the email address (a url)name - the name to return.@Nullable private String getStringFromContact(ContactPerson contact)
contact - who we are interested in.@Nullable protected String getContactFromEntity()
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.