|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<org.opensaml.saml2.core.Attribute>
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML2AttributeEncoder
public abstract class AbstractSAML2AttributeEncoder
Base for encoders that produce Attribute
s.
Field Summary | |
---|---|
protected org.opensaml.common.SAMLObjectBuilder<org.opensaml.saml2.core.Attribute> |
attributeBuilder
Builder for SAML 2 attribute XMLObjects. |
Constructor Summary | |
---|---|
protected |
AbstractSAML2AttributeEncoder()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder |
---|
getAttributeName, setAttributeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.internet2.middleware.shibboleth.common.attribute.encoding.AttributeEncoder |
---|
encode, getAttributeName, setAttributeName |
Field Detail |
---|
protected final org.opensaml.common.SAMLObjectBuilder<org.opensaml.saml2.core.Attribute> attributeBuilder
Constructor Detail |
---|
protected AbstractSAML2AttributeEncoder()
Method Detail |
---|
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 populate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |