|
|||||||||||
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
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 | |
MetadataResourceInfo()
|
Method Summary | |
private void |
customizedValueValidate(String key,
ResourceValue a_CustomizedValue)
|
protected String |
getResourceType()
Gets the resource type. |
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 MetadataResourceInfo |
obtainMetadataResourceInfo(String infoName)
Get an StringResourceInfo 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 |
writeTranslationSupport(PrintWriter output,
ResourceValue rv)
|
protected void |
writeUnlocalizedValue(PrintWriter output,
ResourceValue rv)
|
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.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 MetadataResourceInfo()
Method Detail |
public ResourceValue putValue(String key, ResourceValue a_Value) throws WTPropertyVetoException
putValue
in class StringResourceInfo
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 StringResourceInfo
key
- a_CustomizedValue
-
WTPropertyVetoException
private void customizedValueValidate(String key, ResourceValue a_CustomizedValue) throws WTPropertyVetoException
key
- a_CustomizedValue
-
WTPropertyVetoException
public static MetadataResourceInfo obtainMetadataResourceInfo(String infoName) throws WTResourceException
infoName
-
WTResourceException
protected void populateResource(Dictionary keyValues, Dictionary constants, ResourceValue rv) throws WTPropertyVetoException
populateResource
in class ResourceInfo
keyValues
- constants
- rv
-
WTPropertyVetoException
protected void writeValue(PrintWriter output, ResourceValue rv)
writeValue
in class ResourceInfo
output
- rv
- protected ResourceInfo makeInfo() throws WTPropertyVetoException
makeInfo
in class StringResourceInfo
WTPropertyVetoException
protected ResourceValue makeValue(String a_Key) throws WTPropertyVetoException
StringResourceInfo
makeValue
in class StringResourceInfo
a_Key
-
WTPropertyVetoException
protected void writeTranslationSupport(PrintWriter output, ResourceValue rv)
writeTranslationSupport
in class ResourceInfo
protected void writeUnlocalizedValue(PrintWriter output, ResourceValue rv)
writeUnlocalizedValue
in class ResourceInfo
protected void printFormat(PrintWriter output)
printFormat
in class ResourceInfo
protected String getResourceType()
getResourceType
in class ResourceInfo
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |