|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.tools.resource.ResourceInfo
wt.tools.resource.StringResourceInfo
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static Hashtable |
infoCache
|
private static String |
RESOURCE
|
Fields inherited from class wt.tools.resource.ResourceInfo |
BACKUP, baseHasChanged, COMPILE, customHasChanged, DEL_SOURCE, EXTENSION, FORCE_COMPILE, FROM_DEFAULT_FORCE, FROM_DEFAULT_LOCALES, MSG_CAT, TRANSLATION_SECTION_MARKER, TRANSLATION_SUPPORT, translationSectionStarted |
Constructor Summary | |
StringResourceInfo()
|
Method Summary | |
private void |
customizedValueValidate(String key,
ResourceValue a_CustomizedValue)
|
protected ResourceInfo |
makeInfo()
Construct a new instance of the current object's class. |
protected ResourceValue |
makeValue(String a_Key)
Make a new ResourceValue, for this ResourceInfo. |
static StringResourceInfo |
obtainStringResourceInfo(String infoName)
Get an StringResourceInfo instance for the infoName. |
ResourceValue |
putCustomizedValue(String key,
ResourceValue a_CustomizedValue)
Sets the object for the association that plays role: customizedValue. |
ResourceValue |
putValue(String key,
ResourceValue a_Value)
Sets the object for the association that plays role: value. |
private void |
valueValidate(String key,
ResourceValue a_Value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static final Hashtable infoCache
Constructor Detail |
public StringResourceInfo()
Method Detail |
public ResourceValue putValue(String key, ResourceValue a_Value) throws WTPropertyVetoException
putValue
in class ResourceInfo
key
- a_Value
-
WTPropertyVetoException
private void valueValidate(String key, ResourceValue a_Value) throws WTPropertyVetoException
key
- a_Value
-
WTPropertyVetoException
public ResourceValue putCustomizedValue(String key, ResourceValue a_CustomizedValue) throws WTPropertyVetoException
putCustomizedValue
in class ResourceInfo
key
- a_CustomizedValue
-
WTPropertyVetoException
private void customizedValueValidate(String key, ResourceValue a_CustomizedValue) throws WTPropertyVetoException
key
- a_CustomizedValue
-
WTPropertyVetoException
public static StringResourceInfo obtainStringResourceInfo(String infoName) throws WTResourceException
infoName
-
WTResourceException
protected ResourceInfo makeInfo() throws WTPropertyVetoException
makeInfo
in class ResourceInfo
WTPropertyVetoException
protected ResourceValue makeValue(String a_Key) throws WTPropertyVetoException
makeValue
in class ResourceInfo
a_Key
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |