edu.internet2.middleware.shibboleth.common.attribute.encoding.provider
Class AbstractAttributeEncoder<EncodedType>

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<EncodedType>
Type Parameters:
EncodedType - the type of object created by encoding the attribute
All Implemented Interfaces:
AttributeEncoder<EncodedType>
Direct Known Subclasses:
AbstractSAML1AttributeEncoder, AbstractSAML2AttributeEncoder, AbstractScopedAttributeEncoder, SAML1StringNameIdentifierEncoder, SAML2StringNameIDEncoder

public abstract class AbstractAttributeEncoder<EncodedType>
extends Object
implements AttributeEncoder<EncodedType>

Base class for AttributeEncoders.


Field Summary
private  String attributeName
          Name of the attribute.
 
Constructor Summary
AbstractAttributeEncoder()
           
 
Method Summary
 String getAttributeName()
          Get the name of the attribute.
 void setAttributeName(String newAttributeName)
          Sets the name of the attribute.
 
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
 

Field Detail

attributeName

private String attributeName
Name of the attribute.

Constructor Detail

AbstractAttributeEncoder

public AbstractAttributeEncoder()
Method Detail

getAttributeName

public String getAttributeName()
Get the name of the attribute.

Specified by:
getAttributeName in interface AttributeEncoder<EncodedType>
Returns:
name of the attribute

setAttributeName

public void setAttributeName(String newAttributeName)
Sets the name of the attribute.

Specified by:
setAttributeName in interface AttributeEncoder<EncodedType>
Parameters:
newAttributeName - name of the attribute


Copyright © 1999-2012. All Rights Reserved.