com.xpn.xwiki.objects.meta
Class EmailMetaClass

java.lang.Object
  extended by com.xpn.xwiki.objects.BaseElement<R>
      extended by com.xpn.xwiki.objects.BaseCollection<DocumentReference>
          extended by com.xpn.xwiki.objects.classes.BaseClass
              extended by com.xpn.xwiki.objects.meta.PropertyMetaClass
                  extended by com.xpn.xwiki.objects.meta.StringMetaClass
                      extended by com.xpn.xwiki.objects.meta.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(value="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: 48814e99845ac97578fa1ee5c8baa4fc391a7963 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xpn.xwiki.objects.BaseCollection
currentReferenceDocumentReferenceResolver, fields, fieldsToRemove, number, relativeEntityReferenceResolver
 
Fields inherited from class com.xpn.xwiki.objects.BaseElement
documentReference, localEntityReferenceSerializer, ownerDocument, referenceCache
 
Constructor Summary
EmailMetaClass()
          Constructor for EmailMetaClass.
 
Method Summary
 PropertyClassInterface getInstance()
           
 
Methods inherited from class com.xpn.xwiki.objects.meta.PropertyMetaClass
clone, getDefinition, getObject, newObject, setObject, toFormString
 
Methods inherited from class com.xpn.xwiki.objects.classes.BaseClass
addBooleanField, addDateField, addDateField, addDateField, addDBListField, addDBListField, addDBListField, addDBTreeListField, addDBTreeListField, addDBTreeListField, addEmailField, addField, addGroupsField, addGroupsField, addLevelsField, addLevelsField, addNumberField, addPasswordField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addStaticListField, addTemplateField, addTextAreaField, addTextField, addUsersField, addUsersField, addUsersField, addUsersField, apply, disableField, enableField, equals, flushCache, fromMap, fromMap, fromString, fromValueMap, fromXML, fromXML, get, getCustomClass, getCustomMapping, getCustomMappingPropertyList, getDefaultEditSheet, getDefaultViewSheet, getDefaultWeb, getDeprecatedObjectProperties, getDiff, getDisabledObjectProperties, getDisabledProperties, getEnabledProperties, getName, getNameField, getReference, getValidationScript, hasCustomMapping, hasExternalCustomMapping, hasInternalCustomMapping, isCustomMappingValid, isCustomMappingValid, merge, merge, newCustomClassInstance, newCustomClassInstance, newCustomClassInstance, put, setCustomClass, setCustomMapping, setDefaultEditSheet, setDefaultViewSheet, setDefaultWeb, setDirty, setName, setNameField, setOwnerDocument, setValidationScript, toXML, toXML, validateObject
 
Methods inherited from class com.xpn.xwiki.objects.BaseCollection
addPropertyForRemoval, getClassName, getCustomMappingMap, getDateValue, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getIntValue, getIntValue, getLargeStringValue, getListValue, getLongValue, getNumber, getProperties, getPropertyList, getPropertyNames, getRelativeXClassReference, getSetValue, getSortedIterator, getStringValue, getXClass, getXClassReference, merge, removeField, safeget, safeput, setClassName, setDateValue, setDBStringListValue, setDocumentReference, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setNumber, setSetValue, setStringListValue, setStringValue, setXClassReference, toString, toXMLString
 
Methods inherited from class com.xpn.xwiki.objects.BaseElement
createReference, getDocumentReference, getId, getLocalKey, getLocalUidStringEntityReferenceSerializer, getOwnerDocument, getPrettyName, hashCode, setId, setPrettyName
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.objects.ObjectInterface
get, getXClass, put, safeget, safeput, toXML
 
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
apply, getDocumentReference, getName, getReference, merge, setDocumentReference, setName, toString
 
Methods inherited from interface com.xpn.xwiki.objects.PropertyInterface
getId, setId, toXML
 

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


Copyright © 2004–2014 XWiki. All rights reserved.