Class EmailMetaClass

  • All Implemented Interfaces:
    com.xpn.xwiki.internal.objects.classes.PropertyClassProvider, com.xpn.xwiki.internal.objects.meta.PropertyMetaClassInterface, ClassInterface, ElementInterface, ObjectInterface, PropertyInterface, Serializable, Cloneable

    @Component
    @Named("Email")
    @Singleton
    public class EmailMetaClass
    extends StringMetaClass
    Email Field Class allows to create a field for email values. This will allow using a custom displayer assigned to that field by default. The field also includes a default regexp for validation.
    Since:
    4.2M2
    Version:
    $Id: d8c52e10b339330c2c43998e20d4708c1f07e3de $
    See Also:
    Serialized Form
    • Constructor Detail

      • EmailMetaClass

        public EmailMetaClass()
        Constructor for EmailMetaClass.
    • Method Detail

      • getInstance

        public PropertyClassInterface getInstance()
        Specified by:
        getInstance in interface com.xpn.xwiki.internal.objects.classes.PropertyClassProvider
        Overrides:
        getInstance in class StringMetaClass
        Returns:
        a new XClass property instance