Class AutomaticBean.RelaxedAccessModifierArrayConverter

  • All Implemented Interfaces:
    org.apache.commons.beanutils.Converter
    Enclosing class:
    AutomaticBean

    private static class AutomaticBean.RelaxedAccessModifierArrayConverter
    extends java.lang.Object
    implements org.apache.commons.beanutils.Converter
    A converter that converts strings to AccessModifierOption. This implementation does not care whether the array elements contain characters like '_'. The normal ArrayConverter class has problems with this character.
    • Field Detail

      • EMPTY_MODIFIER_ARRAY

        private static final AccessModifierOption[] EMPTY_MODIFIER_ARRAY
        Constant for optimization.
    • Constructor Detail

      • RelaxedAccessModifierArrayConverter

        private RelaxedAccessModifierArrayConverter()
    • Method Detail

      • convert

        public java.lang.Object convert​(java.lang.Class type,
                                        java.lang.Object value)
        Specified by:
        convert in interface org.apache.commons.beanutils.Converter