Uiinfrastructure API Docs  
 

FactoryHelper Members

FactoryHelper overview

Public Static Methods

combineMaps This method takes an IXPEnumerator of XPHashtable objects, and combines all of the object/object pairs of all of these maps into a single XPHashtable object.
combineStringDictionariesOverloaded. Call this method to add two XPStringDictionary objects.
updateImgAlts This method updates HTMLImg objects nested within a construct. The alt attribute of each updated HTMLImg object is set to the localized String.
updateStrings This method updates all of the appropriate strings within a construct with localized versions of those strings.

Each construct offers a StrinDictionary containing ElementName/stringid pairs. The ElementName indicates a nested HTMLElement object, the string id indicates a localized string.

This method obtains each nested element indicated by the set of ElementName objects. If that nested HTMLElement is an HTMLGenericElement, then it is replaced with the corresponding localized string. If the nested element is any other type of HTMLElement object, the corresponding localized string is nested within the nested element.
XPDictionaryToTable This method takes a string dictionary, and constructs an HTML table from the values in this dictionary. This method is to be used purely for debuggin purposes, the HTMLTable returned has no true display value.

Public Instance Constructors

FactoryHelper Constructor Initializes a new instance of the FactoryHelper class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

FactoryHelper Class | com.plumtree.xpshared.htmlconstructs Namespace