Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.digester.plugins.strategies
Class LoaderSetProperties

    java.lang.Object
      org.apache.commons.digester.plugins.RuleLoader
          org.apache.commons.digester.plugins.strategies.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

Constructor Summary
`LoaderSetProperties()`

Method Summary
`void` | `addRules(Digester digester, String path)` Just add a SetPropertiesRule at the specified path.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LoaderSetProperties

    public LoaderSetProperties()

Method Detail

### addRules

    public void addRules(Digester digester,
                         String path)

  Just add a SetPropertiesRule at the specified path.

  Specified by:
    `addRules` in class `RuleLoader`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.