edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition
Class RegexSplitAttributeDefinitionFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.AbstractResolutionPluginFactoryBean
          extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.BaseAttributeDefinitionFactoryBean
              extended by edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.RegexSplitAttributeDefinitionFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class RegexSplitAttributeDefinitionFactoryBean
extends BaseAttributeDefinitionFactoryBean

Factory bean for creating regular expression based splitting attribute definitions.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
RegexSplitAttributeDefinitionFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 Class getObjectType()
          
 String getRegex()
          Gets the regular expression used to split values.
 boolean isCaseSensitive()
          Gets whether the regular expression is case sensitive.
 void setCaseSensitive(boolean isSensitive)
          Sets whether the regular expression is case sensitive.
 void setRegex(String regularExpression)
          Sets the regular expression used to split values.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.attribute.resolver.attributeDefinition.BaseAttributeDefinitionFactoryBean
getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getSourceAttributeId, isDependencyOnly, populateAttributeDefinition, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeId
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.attribute.resolver.AbstractResolutionPluginFactoryBean
getDependencyIds, getPluginId, setDependencyIds, setPluginId
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexSplitAttributeDefinitionFactoryBean

public RegexSplitAttributeDefinitionFactoryBean()
Method Detail

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean

getRegex

public String getRegex()
Gets the regular expression used to split values.

Returns:
regular expression used to split values

setRegex

public void setRegex(String regularExpression)
Sets the regular expression used to split values.

Parameters:
regularExpression - regular expression used to split values

isCaseSensitive

public boolean isCaseSensitive()
Gets whether the regular expression is case sensitive.

Returns:
whether the regular expression is case sensitive

setCaseSensitive

public void setCaseSensitive(boolean isSensitive)
Sets whether the regular expression is case sensitive.

Parameters:
isSensitive - whether the regular expression is case sensitive

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception


Copyright © 2006-2011 Internet2. All Rights Reserved.