|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.xpshared.htmlconstructs.FactoryHelper
public class FactoryHelper
Constructor Summary | |
---|---|
FactoryHelper()
|
Method Summary | |
---|---|
static XPHashtable |
combineMaps(IXPEnumerator e)
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. |
static XPStringDictionary |
combineStringDictionaries(IXPEnumerator e)
This method takes an ArrayList of StringDictionary objects, and combines all of the key/value pairs of all of these dictionaries into a single dictionary. |
static XPStringDictionary |
combineStringDictionaries(XPStringDictionary sd1,
XPStringDictionary sd2)
Call this method to add two XPStringDictionary objects. |
static void |
updateImgAlts(PTConstruct construct)
This method updates HTMLImg objects nested within a construct. |
static void |
updateStrings(PTConstruct construct)
This method updates all of the appropriate strings within a construct with localized versions of those strings. |
static HTMLTable |
XPDictionaryToTable(XPStringDictionary sd)
This method takes a string dictionary, and constructs an HTML table from the values in this dictionary. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FactoryHelper()
Method Detail |
---|
public static HTMLTable XPDictionaryToTable(XPStringDictionary sd)
sd
-
public static XPHashtable combineMaps(IXPEnumerator e)
e
-
public static XPStringDictionary combineStringDictionaries(XPStringDictionary sd1, XPStringDictionary sd2)
sd1
- Pass an XPStringDictionarysd2
- Pass another XPStringDictionary
public static XPStringDictionary combineStringDictionaries(IXPEnumerator e)
e
-
public static void updateImgAlts(PTConstruct construct)
construct
- Pass a PTConstructpublic static void updateStrings(PTConstruct construct)
construct
- Pass a PTConstruct. Nested elements with names
equivalent to those specified by the string dictionary will be
updated.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |