public class ERXPathDirectAction extends WODirectAction
ERXPathDirectActionRequestHandler
for more information.NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.UtilityNSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessorNSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
log
logging support
|
protected NSArray |
pathParts
caches the path parts
|
protected NSDictionary |
pathPartsByKeys
caches the path parts by keys
|
protected NSDictionary |
pathPartsByKeysCaseInsensitive
caches the path parts by case insensitive keys
|
actionText_actionClasses, _context_CLASS_CLASS, _KeyPathSeparatorChar, KeyPathSeparatorNullValue_CLASS| Constructor and Description |
|---|
ERXPathDirectAction(WORequest aRequest)
Just calls super.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPathPartForKey(java.lang.String key)
Determines if a path part exists for a given key.
|
boolean |
hasPathPartForKey(java.lang.String key,
boolean caseInsensitive)
Determines if a path part exists for a given key
with the option of performing a case insensitve
comparison.
|
java.lang.String |
pathPartForKey(java.lang.String key)
Gets a path part for a given key.
|
java.lang.String |
pathPartForKeyWithDefault(java.lang.String key,
java.lang.String defaultValue)
Gets a path part for a given key, returning the default
value if nothing was specified.
|
java.lang.String |
pathPartForKeyWithDefault(java.lang.String key,
java.lang.String defaultValue,
boolean caseInsensitiveCompare)
Gets a path part for a given key, returning the default
value if nothing was specified.
|
NSArray |
pathParts()
The path parts of a request correspond to to all of the pieces between the
request handler key and the class name.
|
NSDictionary |
pathPartsByKeys()
Given an array of path parts (foo=food, bar=baz, gee) this will
produce a dictionary of the form: { foo=food; bar=baz; }.
|
NSDictionary |
pathPartsByKeysCaseInsensitive()
Same method as pathPartsByKeys except all of the keys have been down cased, ie
for path parts (Foo=food, bAr=baz, gee) this will give a dictionary of the form
{ foo=food; bar=baz; }.
|
_componentAction, defaultAction, getSessionIDForRequest, performActionNamed, takeFormValueArraysForKeyArray, takeFormValuesForKeyArray_isActionOnClass, _methodForAction, _preloadAllActionsOnClass, canAccessFieldsDirectly, context, debugString, existingSession, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, initializeRequestSessionIDInContext, languages, logString, pageWithName, request, session, setLanguages, takeValueForKey, takeValueForKeyPath, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForKey, valueForKeyPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleQueryWithUnboundKey, handleTakeValueForUnboundKey, unableToSetNullForKeytakeValueForKeyPath, valueForKeyPathtakeValueForKey, valueForKeyvalidateTakeValueForKeyPath, validateValueForKeyprotected static final org.apache.log4j.Logger log
protected NSArray pathParts
protected NSDictionary pathPartsByKeys
protected NSDictionary pathPartsByKeysCaseInsensitive
public ERXPathDirectAction(WORequest aRequest)
public NSArray pathParts()
public NSDictionary pathPartsByKeys()
public NSDictionary pathPartsByKeysCaseInsensitive()
public boolean hasPathPartForKey(java.lang.String key)
key - path part keypublic boolean hasPathPartForKey(java.lang.String key,
boolean caseInsensitive)
key - path part keycaseInsensitive - key comparison should be case sensitivepublic java.lang.String pathPartForKey(java.lang.String key)
key - path part keypublic java.lang.String pathPartForKeyWithDefault(java.lang.String key,
java.lang.String defaultValue)
key - path part keydefaultValue - default valuepublic java.lang.String pathPartForKeyWithDefault(java.lang.String key,
java.lang.String defaultValue,
boolean caseInsensitiveCompare)
key - path part keydefaultValue - default valuecaseInsensitiveCompare - key comparison should ignore caseCopyright © 2002 – 2022 Project Wonder.