Example usage for org.apache.commons.digester BeanPropertySetterRule subclass-usage

List of usage examples for org.apache.commons.digester BeanPropertySetterRule subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.digester BeanPropertySetterRule subclass-usage.

Usage

From source file org.apache.myfaces.trinidadbuild.plugin.faces.parse.rules.BeanPropertySetterRule.java

/**
 * Extends Apache Commons Digester BeanPropertySetterRule to add QName support.
 *
 * A QName conveter is not sufficient because it requires contextual
 * knowledge of the current prefix-to-namespace mappings.
 */

From source file net.javacoding.xsearch.config.ServerConfigurationRuleSet.java

class ServerDataSourceRule extends BeanPropertySetterRule {

    public void body(String namespace, String name, String text) {
        if (name.equalsIgnoreCase("db-url")) {
            this.propertyName = "dbUrl";
        } else if (name.equalsIgnoreCase("db-username")) {