public class LocalizerAttributeHandler extends MethodAttributeHandler
m_AllowedClasses, m_Class, m_Method, m_Parameters| Constructor and Description |
|---|
LocalizerAttributeHandler(String methodName)
Creates a new LocalizerAttributeHandler
for the given Localizer accessor method.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(AttributeHandlerContext context)
Returns true if repos object is an instanceof DirectoryUser.
|
Object |
getValue(AttributeHandlerContext context)
Returns the value returned by the Localizer's accessor method registered
for use by this instance.
|
canUpdate, setValuepublic LocalizerAttributeHandler(String methodName) throws NoSuchMethodException
methodName - the name of the Localizer method to invoke.NoSuchMethodException - if the given method does not exist.public boolean canHandle(AttributeHandlerContext context)
canHandle in interface AttributeHandlercanHandle in class MethodAttributeHandlercontext - The context when this handler is called.public Object getValue(AttributeHandlerContext context) throws FdkException
getValue in interface AttributeHandlergetValue in class MethodAttributeHandlercontext - the context for this AttributeHandler.FdkException - if the operation fails.IfsException - if the operation fails.Copyright © 2025. All rights reserved.