com.dynamide.datatypes
Class StringDatatype

java.lang.Object
  extended by com.dynamide.DynamideObject
      extended by com.dynamide.datatypes.Datatype
          extended by com.dynamide.datatypes.StringDatatype
All Implemented Interfaces:
IGet
Direct Known Subclasses:
HTMLDatatype, IDatasourceDatatype, WebmacroDatatype

public class StringDatatype
extends Datatype

Use this datatype to store simple Strings. If you want to store HTML, use com.dynamide.datatypes.HTMLDatatype. If you want to store a String that has an associated key, such as those required by com.dynamide.radiogroup, use com.dynamide.datatypes.Caption.

Defines the following elements:


Field Summary
 
Fields inherited from class com.dynamide.DynamideObject
m_id
 
Constructor Summary
StringDatatype()
           
StringDatatype(DynamideObject owner, Session session)
           
StringDatatype(java.lang.String value)
           
 
Method Summary
 void addXMLContentTo(org.jdom.Element container)
           
protected  Datatype createClone()
          subclasses can override and replace
 boolean equals(java.lang.Object other)
           
 java.lang.String getDotName()
           
 void init(org.jdom.Element element, java.lang.String ownerID)
           
 java.lang.String toString()
           
 ValidationResult validate()
           
 
Methods inherited from class com.dynamide.datatypes.Datatype
clone, dump, dumpHTML, finalize, get, getAsStored, getDatatypeClassName, getDatatypeClassName, getDatatypeClassName, getDatatypeInstance, getProperty, getSession, insertItemDatatype, set, setProperty, setSession
 
Methods inherited from class com.dynamide.DynamideObject
clearProfiler, dump, expand, findParentExpander, findParentPage, findParentSession, findTopParentPage, getCategoryID, 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
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringDatatype

public StringDatatype()

StringDatatype

public StringDatatype(DynamideObject owner,
                      Session session)

StringDatatype

public StringDatatype(java.lang.String value)
Method Detail

validate

public ValidationResult validate()
Overrides:
validate in class Datatype

init

public void init(org.jdom.Element element,
                 java.lang.String ownerID)
          throws DatatypeException
Overrides:
init in class Datatype
Throws:
DatatypeException

addXMLContentTo

public void addXMLContentTo(org.jdom.Element container)
Specified by:
addXMLContentTo in class Datatype

createClone

protected Datatype createClone()
Description copied from class: Datatype
subclasses can override and replace

Overrides:
createClone in class Datatype

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

getDotName

public java.lang.String getDotName()
Overrides:
getDotName in class DynamideObject


Copyright 2001-2013 DYNAMIDE.COM. All Rights Reserved.