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.


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
 

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 © 2006-2009 Internet2. All Rights Reserved.