| <?xml version="1.0"?> |
| |
| <!-- |
| Copyright 2001-2004 The Apache Software Foundation. |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!DOCTYPE digester-rules PUBLIC "-//Jakarta Apache //DTD digester-rules XML V1.0//EN" "http://jakarta.apache.org/commons/digester/dtds/digester-rules.dtd"> |
| |
| <digester-rules> |
| <pattern value="root"> |
| <pattern value="foo"> |
| <call-method-rule |
| methodname="triple" |
| paramcount="3" |
| paramtypes="java.lang.String,java.lang.String,java.lang.String"/> |
| <call-param-rule |
| paramnumber='0' |
| attrname='attr'/> |
| <pattern value='bar'> |
| <call-param-rule paramnumber='1' from-stack='false'/> |
| </pattern> |
| <pattern value='foobar'> |
| <object-create-rule classname="java.lang.String"/> |
| <pattern value='ping'> |
| <call-param-rule paramnumber='2' from-stack='true'/> |
| </pattern> |
| </pattern> |
| </pattern> |
| </pattern> |
| </digester-rules> |