public class ERDImageNameAssignment extends ERDAssignment implements ERDLocalizableAssignmentInterface
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support
Modifier and Type | Field and Description |
---|---|
static NSArray |
_DEPENDENT_KEYS
holds the array of keys this assignment depends upon
|
static org.apache.log4j.Logger |
log
logging support
|
D2WContextClassArray
_CLASS
Constructor and Description |
---|
ERDImageNameAssignment(EOKeyValueUnarchiver u)
Public constructor
|
ERDImageNameAssignment(String key,
Object value)
Public constructor
|
Modifier and Type | Method and Description |
---|---|
static Object |
decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
Static constructor required by the EOKeyValueUnarchiver
interface.
|
NSArray |
dependentKeys(String keyPath)
Implementation of the
ERDComputingAssignmentInterface . |
String |
imageNameForKey(String key,
String baseImageDirectory,
String prefix) |
Object |
sectionImageName(com.webobjects.directtoweb.D2WContext c) |
Object |
tabImageName(com.webobjects.directtoweb.D2WContext c) |
booleanContextValueForKey, fire, keyForMethodLookup, localizedTemplateStringForKeyInContext, localizedValueForKeyInContext, localizedValueForKeyWithDefaultInContext, localizerForContext, logDeprecatedMessage
public static final org.apache.log4j.Logger log
public static final NSArray _DEPENDENT_KEYS
public ERDImageNameAssignment(EOKeyValueUnarchiver u)
u
- key-value unarchiver used when unarchiving
from rule files.public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
eokeyvalueunarchiver
- to be unarchivedpublic NSArray dependentKeys(String keyPath)
ERDComputingAssignmentInterface
. This
assignment depends upon the context keys: "baseImageDirectory", "sectionKey",
and "tabKey". This array of keys is used when constructing the
significant keys for the passed in keyPath.dependentKeys
in interface ERDComputingAssignmentInterface
keyPath
- to compute significant keys for.public Object sectionImageName(com.webobjects.directtoweb.D2WContext c)
public Object tabImageName(com.webobjects.directtoweb.D2WContext c)
Copyright © 2002 – 2024 Project Wonder.