com.bea.wlw.netui.tags.naming
Class PrefixNameInterceptor
java.lang.Object
com.bea.wlw.netui.tags.naming.PrefixNameInterceptor
- All Implemented Interfaces:
- NameInterceptor
public class PrefixNameInterceptor
- extends Object
- implements NameInterceptor
A NameInterceptor
that is used to add a prefix handler onto a
NetUI tag that is being written to the client. Occasionally, NetUI
tags need to be pre-processed before passing the name and value
to the ProcessPopulate
handler
in order to update a bean property. This preprocessing is done by
implementing a handler implementing the interface
RequestParamterHandler
, registering
this interface with the org.apache.beehive.netui.pageflow.ProcessPopulate#registerPrefixHandler(String, RequestParamterHandler)
method, and adding a prefix which references this RequestParameterHandler to the
name of each paramter that should be handled by the implementation before
updating the bean property.
- Exclude:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrefixNameInterceptor
public PrefixNameInterceptor(String key)
rewriteName
public String rewriteName(String name)
throws ExpressionEvaluationException
- Specified by:
rewriteName
in interface NameInterceptor
- Throws:
ExpressionEvaluationException
rewriteNameInternal
protected String rewriteNameInternal(String name,
String key)
throws ExpressionEvaluationException
- Throws:
ExpressionEvaluationException