public class ServiceContactTag extends ServiceTagSupport
| Modifier and Type | Field and Description |
|---|---|
private String |
contactName
bean storage for the name attribute.
|
private org.opensaml.saml.saml2.metadata.ContactPersonTypeEnumeration |
contactType
storage for the contactType bean.
|
private static Logger |
log
Class logger.
|
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 |
|---|
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(org.opensaml.saml.saml2.metadata.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, getBrowserLanguages, getServiceName, getSPEntityDescriptor, getSPOrganization, getSPUIInfo, setCssClass, setCssId, setCssStyledoAfterBody, 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 org.opensaml.saml.saml2.metadata.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(org.opensaml.saml.saml2.metadata.ContactPerson contact)
contact - who we are interested in.@Nullable protected String getContactFromEntity()
public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class BodyTagSupportJspExceptionCopyright © 1999–2014. All rights reserved.