com.xpn.xwiki.objects.classes
Class DateClass

java.lang.Object
  extended bycom.xpn.xwiki.objects.BaseElement
      extended bycom.xpn.xwiki.objects.BaseCollection
          extended bycom.xpn.xwiki.objects.classes.PropertyClass
              extended bycom.xpn.xwiki.objects.classes.DateClass
All Implemented Interfaces:
ElementInterface, ObjectInterface, PropertyClassInterface, PropertyInterface, java.io.Serializable

public class DateClass
extends PropertyClass

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xpn.xwiki.objects.classes.PropertyClass
 
Fields inherited from class com.xpn.xwiki.objects.BaseCollection
 
Fields inherited from class com.xpn.xwiki.objects.BaseElement
 
Constructor Summary
DateClass()
           
DateClass(PropertyMetaClass wclass)
           
 
Method Summary
 void displayEdit(java.lang.StringBuffer buffer, java.lang.String name, java.lang.String prefix, BaseCollection object, XWikiContext context)
           
 void displayView(java.lang.StringBuffer buffer, java.lang.String name, java.lang.String prefix, BaseCollection object, XWikiContext context)
           
 BaseProperty fromString(java.lang.String value)
           
 java.lang.String getDateFormat()
           
 int getEmptyIsToday()
           
 int getSize()
           
 BaseProperty newPropertyfromXML(org.dom4j.Element ppcel)
           
 void setDateFormat(java.lang.String dformat)
           
 void setEmptyIsToday(int emptyIsToday)
           
 void setSize(int size)
           
 java.lang.String toFormString(BaseProperty property)
           
 
Methods inherited from class com.xpn.xwiki.objects.classes.PropertyClass
checkField, clone, displayEdit, displayEdit, displayHidden, displayHidden, displayHidden, displaySearch, displaySearch, displaySearch, displayView, displayView, fromStringArray, fromXML, getClassName, getClassType, getId, getName, getNumber, getObject, getPrettyName, getxWikiClass, getxWikiClass, initLazyCollections, isUnmodifiable, setClassType, setId, setName, setNumber, setObject, setPrettyName, setUnmodifiable, setxWikiClass, toFormString, toString, toXML, toXML
 
Methods inherited from class com.xpn.xwiki.objects.BaseCollection
addField, addPropertyForRemoval, equals, get, getDateValue, getDiff, getField, getFieldList, getFieldsToRemove, getIntValue, getLargeStringValue, getLongValue, getProperties, getPropertyList, getPropertyNames, getSetValue, getStringValue, hashCode, merge, put, removeField, safeget, safeput, setClassName, setDateValue, setFields, setFieldsToRemove, setIntValue, setLargeStringValue, setLongValue, setSetValue, setStringValue, toString, toXMLString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.objects.ObjectInterface
get, put, safeget, safeput
 
Methods inherited from interface com.xpn.xwiki.objects.ElementInterface
toString
 

Constructor Detail

DateClass

public DateClass(PropertyMetaClass wclass)

DateClass

public DateClass()
Method Detail

getSize

public int getSize()

setSize

public void setSize(int size)

getEmptyIsToday

public int getEmptyIsToday()

setEmptyIsToday

public void setEmptyIsToday(int emptyIsToday)

getDateFormat

public java.lang.String getDateFormat()

setDateFormat

public void setDateFormat(java.lang.String dformat)

fromString

public BaseProperty fromString(java.lang.String value)
Specified by:
fromString in interface PropertyClassInterface
Overrides:
fromString in class PropertyClass

toFormString

public java.lang.String toFormString(BaseProperty property)

newPropertyfromXML

public BaseProperty newPropertyfromXML(org.dom4j.Element ppcel)
Overrides:
newPropertyfromXML in class PropertyClass

displayView

public void displayView(java.lang.StringBuffer buffer,
                        java.lang.String name,
                        java.lang.String prefix,
                        BaseCollection object,
                        XWikiContext context)
Specified by:
displayView in interface PropertyClassInterface
Overrides:
displayView in class PropertyClass

displayEdit

public void displayEdit(java.lang.StringBuffer buffer,
                        java.lang.String name,
                        java.lang.String prefix,
                        BaseCollection object,
                        XWikiContext context)
Specified by:
displayEdit in interface PropertyClassInterface
Overrides:
displayEdit in class PropertyClass


Copyright 2003 Ludovic Dubost