|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jsxp.framework.elementprocessing.processors.ResourceBundleValue
public class ResourceBundleValue
Defines how resource are handled by the jsxp framework. This processor will exchange the
value of an element to content from a resource bundle. The resource bundle will be
resolved by the uri.
The content will be resolved from the resource bundle by the element ID as a key (or a
provided key) and the current locale from context.
Constructor Summary | |
---|---|
ResourceBundleValue(Element element,
java.lang.String uri)
Instantiates a new resource handler. |
|
ResourceBundleValue(Element element,
java.lang.String uri,
java.lang.String key)
Instantiates a new resource handler. |
Method Summary | |
---|---|
void |
process(ViewController renderViewController)
Process elements in the rendering view controller. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceBundleValue(Element element, java.lang.String uri)
element
- the element to processuri
- uri to resolve the resource bundlepublic ResourceBundleValue(Element element, java.lang.String uri, java.lang.String key)
element
- the element to processuri
- uri to resolve the resource bundlekey
- the key of the object in the resource bundleMethod Detail |
---|
public void process(ViewController renderViewController)
ElementProcessor
ViewControllerLifeCycle.LifeCyclePhase.ELEMENTPROCESSING
.
process
in interface ElementProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |