Subversion Repository Public Repository

litesoft

Diff Revisions 600 vs 603 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/shared/externalization/E13nResolver.java

Diff revisions: vs.
  @@ -1,13 +1,13 @@
1 1 package com.temp.shared.externalization;
2 2
3 3 /**
4 - * Externalization Resolver that takes a E13nData and resolves it to a String with an Externally Sourced String keyed template system that supports
4 + * Externalization Resolver that takes a E13nData (or String key) and resolves it to a String with an Externally Sourced String keyed template system that supports
5 5 * substitutions within any specific template by "named" values.
6 6 */
7 7 public interface E13nResolver
8 8 {
9 9 /**
10 - * Resolves the 'data' a String by implementing an Externally Sourced String keyed template system that supports
10 + * Resolves the 'data' to a String by implementing an Externally Sourced String keyed template system that supports
11 11 * substitutions within any specific template by "named" values.
12 12 *
13 13 * @param data !null
  @@ -15,4 +15,14 @@
15 15 * @return Resolved String form of the !null 'data';
16 16 */
17 17 public String resolve( E13nData data );
18 +
19 + /**
20 + * Resolves the 'key' to a String by implementing an Externally Sourced String keyed template system that supports
21 + * substitutions within any specific template by "named" values.
22 + *
23 + * @param key !null & !empty (after trimming)
24 + *
25 + * @return Resolved String form of the !empty 'key';
26 + */
27 + public String resolve( String key );
18 28 }