com.dynamide.datatypes
Class LiveEnumeratedDatatype
java.lang.Object
com.dynamide.DynamideObject
com.dynamide.datatypes.Datatype
com.dynamide.datatypes.EnumeratedDatatype
com.dynamide.datatypes.LiveEnumeratedDatatype
- All Implemented Interfaces:
- IGet
public class LiveEnumeratedDatatype
- extends EnumeratedDatatype
Behaves just like EnumeratedDatatype, but allows the LiveEnumeratedDatatype.editor.xml to be
created with a real Java object behind it, which allows the editor to get the EnumeratedDatatype
associated with the widget defaults.
Method Summary |
java.util.Enumeration |
getEnumeration()
|
void |
init(org.jdom.Element element,
java.lang.String ownerID)
Deals with XML structures like this:
<property name="links">
<datatype>com.dynamide.datatypes.Enumeration</datatype>
<value>
<enumeration override="true" final="false" itemDatatype="com.dynamide.datatypes.StringDatatype" >
<item datatype="com.dynamide.datatypes.Link">
<href>${SESSIONARG}&${PAGEARG}&action=com.dynamide.linkstrip&dmLinkstripItem=Contact%20Us</href>
<text>Contact Us</text>
</item>
... |
Methods inherited from class com.dynamide.datatypes.EnumeratedDatatype |
add, add, add, addStrings, addXMLContentTo, clear, createClone, dump, dump, dumpHTML, get, getCollection, getDefaultIndex, getDefaultValue, getFinal, getItemDatatype, getOverride, getValue, indexOf, remove, remove, set, setDefaultIndex, setFinal, setItemDatatype, setOverride, size, toHTML, toString, validate |
Methods inherited from class com.dynamide.datatypes.Datatype |
clone, finalize, getAsStored, getDatatypeClassName, getDatatypeClassName, getDatatypeClassName, getDatatypeInstance, getProperty, getSession, insertItemDatatype, setProperty, setSession |
Methods inherited from class com.dynamide.DynamideObject |
clearProfiler, expand, findParentExpander, findParentPage, findParentSession, findTopParentPage, getCategoryID, getDotName, getID, getNextGetter, getObjectID, getOwner, getProfiler, isDebugEnabled, isInfoEnabled, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logWarn, logWarn, logWarn, logWarn, popLogContext, printf, printProfiler, profileEnter, profileLeave, pushLogContext, setDotName, setID, setNextGetter, setObjectID, setOwner, sprintf, useProfiler, walkParents |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LiveEnumeratedDatatype
public LiveEnumeratedDatatype()
LiveEnumeratedDatatype
public LiveEnumeratedDatatype(DynamideObject owner,
Session session)
init
public void init(org.jdom.Element element,
java.lang.String ownerID)
throws DatatypeException
- Description copied from class:
EnumeratedDatatype
- Deals with XML structures like this:
<property name="links">
<datatype>com.dynamide.datatypes.Enumeration</datatype>
<value>
<enumeration override="true" final="false" itemDatatype="com.dynamide.datatypes.StringDatatype" >
<item datatype="com.dynamide.datatypes.Link">
<href>${SESSIONARG}&${PAGEARG}&action=com.dynamide.linkstrip&dmLinkstripItem=Contact%20Us</href>
<text>Contact Us</text>
</item>
...
- Overrides:
init
in class EnumeratedDatatype
- Throws:
DatatypeException
getEnumeration
public java.util.Enumeration getEnumeration()
throws java.lang.Exception
- Overrides:
getEnumeration
in class EnumeratedDatatype
- Throws:
java.lang.Exception
Copyright © 2001-2013 DYNAMIDE.COM. All Rights Reserved.