net.geant.edugain.attributes.namemappers
Class NoopAttributeNameMapper

java.lang.Object
  extended by net.geant.edugain.attributes.namemappers.NoopAttributeNameMapper
All Implemented Interfaces:
AttributeNameMapper

public class NoopAttributeNameMapper
extends java.lang.Object
implements AttributeNameMapper

NOOP implementation of AttributeNameMapper SPI.

Author:
Adam Lantos

Constructor Summary
NoopAttributeNameMapper()
           
 
Method Summary
 java.lang.String getAttributeID(java.lang.String attributeName, java.lang.String attributeNamespace)
          Return the lower-cased attributeName as attributeID.
 java.lang.String getAttributeName(java.lang.String attributeID)
          Return null, as NoopAttributeNameMapper should not alter attribute names.
 java.lang.String getAttributeNamespace(java.lang.String attributeID)
          Return null for every attributeID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopAttributeNameMapper

public NoopAttributeNameMapper()
Method Detail

getAttributeID

public java.lang.String getAttributeID(java.lang.String attributeName,
                                       java.lang.String attributeNamespace)
Return the lower-cased attributeName as attributeID.

Specified by:
getAttributeID in interface AttributeNameMapper
Parameters:
attributeName -
attributeNamespace -
Returns:

getAttributeName

public java.lang.String getAttributeName(java.lang.String attributeID)
Return null, as NoopAttributeNameMapper should not alter attribute names.

Specified by:
getAttributeName in interface AttributeNameMapper
Parameters:
attributeID -
Returns:

getAttributeNamespace

public java.lang.String getAttributeNamespace(java.lang.String attributeID)
Return null for every attributeID.

Specified by:
getAttributeNamespace in interface AttributeNameMapper
Parameters:
attributeID -
Returns: