|
|||||||||||
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
wt.tools.resource.MetadataResourceInfo
wt.tools.resource.EnumResourceInfo
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Fields inherited from class wt.tools.resource.StringResourceInfo |
|
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 | |
EnumResourceInfo()
|
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 EnumResourceInfo |
obtainEnumResourceInfo(String infoName)
Get an EnumResourceInfo instance for the infoName. |
protected void |
populateResource(Dictionary keyValues,
Dictionary constants,
ResourceValue rv)
Populate the resource with the values needed at run-time. |
protected void |
printFormat(PrintWriter output)
|
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)
|
protected void |
writeValue(PrintWriter output,
ResourceValue rv)
Write the state of a particular ResourceValue to the output target. |
Methods inherited from class wt.tools.resource.MetadataResourceInfo |
getResourceType, obtainMetadataResourceInfo, writeTranslationSupport, writeUnlocalizedValue |
Methods inherited from class wt.tools.resource.StringResourceInfo |
obtainStringResourceInfo |
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
Constructor Detail |
public EnumResourceInfo()
Method Detail |
public ResourceValue putValue(String key, ResourceValue a_Value) throws WTPropertyVetoException
putValue
in class MetadataResourceInfo
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 MetadataResourceInfo
key
- a_CustomizedValue
-
WTPropertyVetoException
private void customizedValueValidate(String key, ResourceValue a_CustomizedValue) throws WTPropertyVetoException
key
- a_CustomizedValue
-
WTPropertyVetoException
public static EnumResourceInfo obtainEnumResourceInfo(String infoName) throws WTResourceException
infoName
-
WTResourceException
protected void populateResource(Dictionary keyValues, Dictionary constants, ResourceValue rv) throws WTPropertyVetoException
populateResource
in class MetadataResourceInfo
keyValues
- constants
- rv
-
WTPropertyVetoException
protected void writeValue(PrintWriter output, ResourceValue rv)
writeValue
in class MetadataResourceInfo
output
- rv
- protected ResourceInfo makeInfo() throws WTPropertyVetoException
makeInfo
in class MetadataResourceInfo
WTPropertyVetoException
protected ResourceValue makeValue(String a_Key) throws WTPropertyVetoException
StringResourceInfo
makeValue
in class MetadataResourceInfo
WTPropertyVetoException
protected void printFormat(PrintWriter output)
printFormat
in class MetadataResourceInfo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |