org.apache.struts.config

Class ActionConfigMatcher.Mapping

private class ActionConfigMatcher.Mapping extends Object implements Serializable

Stores a compiled wildcard pattern and the ActionConfig it came from.
Field Summary
ActionConfigconfig
The original ActionConfig.
int[]pattern
The compiled pattern.
Constructor Summary
Mapping(int[] pattern, ActionConfig config)
Contructs a read-only Mapping instance.
Method Summary
ActionConfiggetActionConfig()
Gets the ActionConfig that contains the pattern.
int[]getPattern()
Gets the compiled wildcard pattern.

Field Detail

config

private ActionConfig config
The original ActionConfig.

pattern

private int[] pattern
The compiled pattern.

Constructor Detail

Mapping

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

Parameters: pattern The compiled pattern config The original ActionConfig

Method Detail

getActionConfig

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

Returns: The associated ActionConfig

getPattern

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

Returns: The compiled pattern

Copyright © 2000-2008 - The Apache Software Foundation