public abstract class AbstractSAML2AttributeEncoder extends AbstractAttributeEncoder<org.opensaml.saml2.core.Attribute> implements SAML2AttributeEncoder
Attribute
s.Modifier and Type | Field and Description |
---|---|
protected org.opensaml.common.SAMLObjectBuilder<org.opensaml.saml2.core.Attribute> |
attributeBuilder
Builder for SAML 2 attribute XMLObjects.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractSAML2AttributeEncoder()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFriendlyName()
Gets the human friendly name of the attribute.
|
String |
getNameFormat()
Gets the attribute's name format.
|
protected void |
populateAttribute(org.opensaml.saml2.core.Attribute attribute)
Populates the attribute with attribute name, name format, and friendly name information.
|
void |
setFriendlyName(String name)
Sets the human friendly name of the attribute.
|
void |
setNameFormat(String newFormat)
Sets the attribute's name format.
|
getAttributeName, setAttributeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode, getAttributeName, setAttributeName
protected final org.opensaml.common.SAMLObjectBuilder<org.opensaml.saml2.core.Attribute> attributeBuilder
protected AbstractSAML2AttributeEncoder()
public String getNameFormat()
getNameFormat
in interface SAML2AttributeEncoder
public String getFriendlyName()
getFriendlyName
in interface SAML2AttributeEncoder
public void setNameFormat(String newFormat)
setNameFormat
in interface SAML2AttributeEncoder
newFormat
- attribute's name formatpublic void setFriendlyName(String name)
setFriendlyName
in interface SAML2AttributeEncoder
name
- human friendly name of the attributeprotected void populateAttribute(org.opensaml.saml2.core.Attribute attribute)
attribute
- to populateCopyright © 1999–2014. All rights reserved.