pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.accesscontrol.attributes
Class AttributeFactoryConfig

java.lang.Object
  extended by org.torweg.pulse.configuration.AbstractConfigBean
      extended by org.torweg.pulse.accesscontrol.attributes.AttributeFactoryConfig
All Implemented Interfaces:
java.io.Serializable, ConfigBean

public class AttributeFactoryConfig
extends AbstractConfigBean

the configuration of the AttributeFactory.

Version:
$Revision: 1809 $
Author:
Daniel Dietz, Thomas Weber
See Also:
Serialized Form

Constructor Summary
AttributeFactoryConfig()
           
 
Method Summary
 java.util.Set<java.lang.Class<AbstractAttribute<?>>> getAttributes()
          returns the classes of the known AbstractAttributes.
 java.util.Set<java.lang.Class<AbstractValue<?>>> getAttributeValues(java.lang.Class<AbstractAttribute<?>> clazz)
          returns the classes of the available AbstractValues for the passed AbstractAttribute-class.
 java.util.Set<java.lang.Class<AbstractTypedCheck<?>>> getTypedChecks(java.lang.Class<AbstractAttribute<?>> clazz)
          returns a set with the available typed checks for the given attribute class.
 void init(org.jdom.Element conf)
          initializes the ConfigBean.
 
Methods inherited from class org.torweg.pulse.configuration.AbstractConfigBean
buildClass, buildInstance, lastModified, setLastModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeFactoryConfig

public AttributeFactoryConfig()
Method Detail

getAttributes

public final java.util.Set<java.lang.Class<AbstractAttribute<?>>> getAttributes()
returns the classes of the known AbstractAttributes.

Returns:
an unmodifiable view of the classes of the known AbstractAttributes

getAttributeValues

public final java.util.Set<java.lang.Class<AbstractValue<?>>> getAttributeValues(java.lang.Class<AbstractAttribute<?>> clazz)
returns the classes of the available AbstractValues for the passed AbstractAttribute-class.

Parameters:
clazz - the attribute-Class to retrieve the values for
Returns:
an unmodifiable view of the classes of the available AbstractValues for the passed AbstractAttribute-class

getTypedChecks

public final java.util.Set<java.lang.Class<AbstractTypedCheck<?>>> getTypedChecks(java.lang.Class<AbstractAttribute<?>> clazz)
returns a set with the available typed checks for the given attribute class.

Parameters:
clazz - the attribute class
Returns:
an unmodifiable set with the available checks

init

public void init(org.jdom.Element conf)
initializes the ConfigBean.

Parameters:
conf - the configuration-XML
See Also:
ConfigBean.init(org.jdom.Element)