org.apache.commons.digester.plugins.strategies

Class LoaderSetProperties

public class LoaderSetProperties extends RuleLoader

A RuleLoader which creates a single SetPropertiesRule and adds it to the digester when its addRules() method is invoked.

This loader ensures that any xml attributes on the plugin tag get mapped to equivalent properties on a javabean. This allows JavaBean classes to be used as plugins without any requirement to create custom plugin rules.

Since: 1.6

Method Summary
voidaddRules(Digester digester, String path)
Just add a SetPropertiesRule at the specified path.

Method Detail

addRules

public void addRules(Digester digester, String path)
Just add a SetPropertiesRule at the specified path.
Copyright 2001-2005 The Apache Software Foundation.