org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class ResourceKeyUtils
java.lang.Object
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.ResourceKeyUtils
public class ResourceKeyUtils
- extends java.lang.Object
Utilities for dealing with Resource Keys
Method Summary |
static java.util.Map<java.lang.String,java.lang.String> |
convertResourceKeyMap(java.util.Map<java.lang.String,java.lang.String> original,
java.lang.String fromComponent,
java.lang.String toComponent)
Replaces all the resource key aliases. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceKeyUtils
public ResourceKeyUtils()
convertResourceKeyMap
public static java.util.Map<java.lang.String,java.lang.String> convertResourceKeyMap(java.util.Map<java.lang.String,java.lang.String> original,
java.lang.String fromComponent,
java.lang.String toComponent)
- Replaces all the resource key aliases. For example, this can be
used to replace all af_table.styleXYZ values into
af_treeTable.styleXYZ values.
- Parameters:
original
- the original resource key mapfromComponent
- eg: tabletoComponent
- eg: treeTable
- Returns:
- A new map with the replacesment values.
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.