org.apache.struts.config
Class ActionConfigMatcher.Mapping

java.lang.Object
  extended by org.apache.struts.config.ActionConfigMatcher.Mapping
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ActionConfigMatcher

private class ActionConfigMatcher.Mapping
extends java.lang.Object
implements java.io.Serializable

Stores a compiled wildcard pattern and the ActionConfig it came from.


Field Summary
private  ActionConfig config
          The original ActionConfig.
private  int[] pattern
          The compiled pattern.
 
Constructor Summary
ActionConfigMatcher.Mapping(int[] pattern, ActionConfig config)
          Contructs a read-only Mapping instance.
 
Method Summary
 ActionConfig getActionConfig()
          Gets the ActionConfig that contains the pattern.
 int[] getPattern()
          Gets the compiled wildcard pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pattern

private int[] pattern
The compiled pattern.


config

private ActionConfig config
The original ActionConfig.

Constructor Detail

ActionConfigMatcher.Mapping

public ActionConfigMatcher.Mapping(int[] pattern,
                                   ActionConfig config)
Contructs a read-only Mapping instance.

Parameters:
pattern - The compiled pattern
config - The original ActionConfig
Method Detail

getPattern

public int[] getPattern()
Gets the compiled wildcard pattern.

Returns:
The compiled pattern

getActionConfig

public ActionConfig getActionConfig()
Gets the ActionConfig that contains the pattern.

Returns:
The associated ActionConfig


Copyright ? 2000-2008 - The Apache Software Foundation