public interface MemberAccess
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAccessible(Map context,
Object target,
Member member,
String propertyName)
Returns true if the given member is accessible or can be made accessible
by this object.
|
void |
restore(Map context,
Object target,
Member member,
String propertyName,
Object state)
Restores the member from the previous setup call.
|
Object |
setup(Map context,
Object target,
Member member,
String propertyName)
Sets the member up for accessibility
|
Object setup(Map context, Object target, Member member, String propertyName)
context - the current execution context.target - the Object upon which to perform the setup operation.member - the Member upon which to perform the setup operation.propertyName - the property upon which to perform the setup operation.void restore(Map context, Object target, Member member, String propertyName, Object state)
context - the current execution context.target - the Object upon which to perform the setup operation.member - the Member upon which to perform the setup operation.propertyName - the property upon which to perform the setup operation.state - the Object holding the state to restore (target state prior to the setup operation).boolean isAccessible(Map context, Object target, Member member, String propertyName)
context - the current execution context.target - the Object to test accessibility for.member - the Member to test accessibility for.propertyName - the property to test accessibility for.Copyright © 1997–2021 OpenSymphony. All rights reserved.