| java.lang.Object org.apache.tomcat.util.digester.Rule org.apache.tomcat.util.digester.SetPropertyRule
SetPropertyRule | public class SetPropertyRule extends Rule (Code) | | Rule implementation that sets an individual property on the object at the
top of the stack, based on attributes with specified names.
|
Field Summary | |
protected String | name The attribute that will contain the property name. | protected String | value The attribute that will contain the property value. |
Method Summary | |
public void | begin(Attributes attributes) Process the beginning of this element. | public String | toString() Render a printable version of this Rule. |
name | protected String name(Code) | | The attribute that will contain the property name.
|
value | protected String value(Code) | | The attribute that will contain the property value.
|
SetPropertyRule | public SetPropertyRule(Digester digester, String name, String value)(Code) | | Construct a "set property" rule with the specified name and value
attributes.
Parameters: digester - The digester with which this rule is associated Parameters: name - Name of the attribute that will contain the name of theproperty to be set Parameters: value - Name of the attribute that will contain the value to whichthe property should be setDigester.addRuleSetPropertyRule.SetPropertyRule(String name,String value) |
SetPropertyRule | public SetPropertyRule(String name, String value)(Code) | | Construct a "set property" rule with the specified name and value
attributes.
Parameters: name - Name of the attribute that will contain the name of theproperty to be set Parameters: value - Name of the attribute that will contain the value to whichthe property should be set |
begin | public void begin(Attributes attributes) throws Exception(Code) | | Process the beginning of this element.
Parameters: attributes - The attribute list of this element exception: NoSuchMethodException - if the bean does nothave a writeable property of the specified name |
toString | public String toString()(Code) | | Render a printable version of this Rule.
|
|
|