first commit
This commit is contained in:
11
hrmsEjb/org/apache/struts/config/PlugInSetPropertyRule.java
Normal file
11
hrmsEjb/org/apache/struts/config/PlugInSetPropertyRule.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package org.apache.struts.config;
|
||||
|
||||
import org.apache.commons.digester.Rule;
|
||||
import org.xml.sax.Attributes;
|
||||
|
||||
final class PlugInSetPropertyRule extends Rule {
|
||||
public void begin(Attributes attributes) throws Exception {
|
||||
PlugInConfig plugInConfig = (PlugInConfig)this.digester.peek();
|
||||
plugInConfig.addProperty(attributes.getValue("property"), attributes.getValue("value"));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user