Class StringSetFactory

Object
org.apache.commons.configuration.beanutils.DefaultBeanFactory
org.anchoranalysis.bean.xml.factory.AnchorBeanFactory
org.anchoranalysis.bean.xml.factory.primitive.StringSetFactory
All Implemented Interfaces:
org.apache.commons.configuration.beanutils.BeanFactory

public class StringSetFactory
extends AnchorBeanFactory
Creates a StringSet from a XML element.

It uses:

  • all "item" sub-elements, and
  • the "items" attribute, split by commas, if it exists
Author:
Owen Feehan
  • Field Summary

    Fields inherited from class org.apache.commons.configuration.beanutils.DefaultBeanFactory

    INSTANCE
  • Constructor Summary

    Constructors 
    Constructor Description
    StringSetFactory()  
  • Method Summary

    Modifier and Type Method Description
    Object createBean​(Class beanClass, org.apache.commons.configuration.beanutils.BeanDeclaration decl, Object param)  

    Methods inherited from class org.apache.commons.configuration.beanutils.DefaultBeanFactory

    createBeanInstance, getDefaultBeanClass, initBeanInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • createBean

      public Object createBean​(Class beanClass, org.apache.commons.configuration.beanutils.BeanDeclaration decl, Object param) throws Exception
      Specified by:
      createBean in interface org.apache.commons.configuration.beanutils.BeanFactory
      Overrides:
      createBean in class org.apache.commons.configuration.beanutils.DefaultBeanFactory
      Throws:
      Exception