TextItemData
Kind of class: | public class |
---|---|
Package: | |
Inherits from: |
|
Implements: | |
Classpath: | org.asaplibrary.management.lang.TextItemData |
File last modified: | Sunday, 15 May 2011, 21:25:08 |
ValueObject class that holds data for a text item.
Classes that implement IMultiLanguageTextContainer get this type of data from the LanguageManager.
Basic info contained in this class is the text and the id by which it is referenced.
Summary
Constructor
TextItemData
function TextItemData(inID:String = null,
inText:String = null)
Constructor
Parameters
inID :unique id of item
inText:text for item
Instance properties
id
id:String(read,write)
isHTML
isHTML:Boolean = true(read,write)
text
text:String(read,write)
Instance methods
parseXML
function parseXML(o:XML) : Boolean
Parse specified XML data into member variables
Parameters
o:XML object to be parsed
Returns
- true if parsing went ok, otherwise false
toString
function toString() : String