| java.lang.Object org.apache.tomcat.util.digester.Rule org.apache.tomcat.util.digester.ObjectParamRule
ObjectParamRule | public class ObjectParamRule extends Rule (Code) | | Rule implementation that saves a parameter for use by a surrounding
CallMethodRule.
This parameter may be:
since: 1.4 |
Constructor Summary | |
public | ObjectParamRule(int paramIndex, Object param) Construct a "call parameter" rule that will save the given Object as
the parameter value. | public | ObjectParamRule(int paramIndex, String attributeName, Object param) Construct a "call parameter" rule that will save the given Object as
the parameter value, provided that the specified attribute exists. |
attributeName | protected String attributeName(Code) | | The attribute which we are attempting to match
|
param | protected Object param(Code) | | The parameter we wish to pass to the method call
|
paramIndex | protected int paramIndex(Code) | | The zero-relative index of the parameter we are saving.
|
ObjectParamRule | public ObjectParamRule(int paramIndex, Object param)(Code) | | Construct a "call parameter" rule that will save the given Object as
the parameter value.
Parameters: paramIndex - The zero-relative parameter number Parameters: param - the parameter to pass along |
ObjectParamRule | public ObjectParamRule(int paramIndex, String attributeName, Object param)(Code) | | Construct a "call parameter" rule that will save the given Object as
the parameter value, provided that the specified attribute exists.
Parameters: paramIndex - The zero-relative parameter number Parameters: attributeName - The name of the attribute to match Parameters: param - the parameter to pass along |
begin | public void begin(String namespace, String name, Attributes attributes) throws Exception(Code) | | Process the start of this element.
Parameters: attributes - The attribute list for this element |
toString | public String toString()(Code) | | Render a printable version of this Rule.
|
|
|