|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.config.ActionConfigMatcher
Matches paths against pre-compiled wildcard expressions pulled from action configs. It uses the wildcard matcher from the Apache Cocoon project.
| 入れ子クラスの概要 | |
private class |
ActionConfigMatcher.Mapping
Stores a compiled wildcard pattern and the ActionConfig it came from. |
| フィールドの概要 | |
private java.util.List |
compiledPaths
The compiled paths and their associated ActionConfig's |
private static org.apache.commons.logging.Log |
log
The logging instance |
private static WildcardHelper |
wildcard
Handles all wildcard pattern matching. |
| コンストラクタの概要 | |
ActionConfigMatcher(ActionConfig[] configs)
Finds and precompiles the wildcard patterns from the ActionConfig "path" attributes. |
|
| メソッドの概要 | |
protected ActionConfig |
convertActionConfig(java.lang.String path,
ActionConfig orig,
java.util.Map vars)
Clones the ActionConfig and its children, replacing various properties with the values of the wildcard-matched strings. |
protected java.lang.String |
convertParam(java.lang.String val,
java.util.Map vars)
Inserts into a value wildcard-matched strings where specified. |
ActionConfig |
match(java.lang.String path)
Matches the path against the compiled wildcard patterns. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
private static final org.apache.commons.logging.Log log
private static final WildcardHelper wildcard
private java.util.List compiledPaths
| コンストラクタの詳細 |
public ActionConfigMatcher(ActionConfig[] configs)
configs - An array of ActionConfig's to process| メソッドの詳細 |
public ActionConfig match(java.lang.String path)
path - The portion of the request URI for selecting a config.
protected ActionConfig convertActionConfig(java.lang.String path,
ActionConfig orig,
java.util.Map vars)
path - The requested pathorig - The original ActionConfigvars - A Map of wildcard-matched strings
protected java.lang.String convertParam(java.lang.String val,
java.util.Map vars)
val - The value to convertvars - A Map of wildcard-matched strings
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||