org.apache.commons.digester
Class SetPropertiesRule

java.lang.Object
  |
  +--org.apache.commons.digester.Rule
        |
        +--org.apache.commons.digester.SetPropertiesRule

public class SetPropertiesRule
extends Rule

Rule implementation that sets properties on the object at the top of the stack, based on attributes with corresponding names.

Version:
$Revision: 1.4 $ $Date: 2001/08/20 18:28:40 $
Author:
Craig McClanahan

Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
SetPropertiesRule(Digester digester)
          Default constructor sets only the the associated Digester.
 
Method Summary
 void begin(org.xml.sax.Attributes attributes)
          Process the beginning of this element.
 java.lang.String toString()
          Render a printable version of this Rule.
 
Methods inherited from class org.apache.commons.digester.Rule
body, end, finish, getDigester, getNamespaceURI, setNamespaceURI
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

SetPropertiesRule

public SetPropertiesRule(Digester digester)
Default constructor sets only the the associated Digester.
Parameters:
digester - The digester with which this rule is associated
Method Detail

begin

public void begin(org.xml.sax.Attributes attributes)
           throws java.lang.Exception
Process the beginning of this element.
Overrides:
begin in class Rule
Parameters:
context - The associated context
attributes - The attribute list of this element

toString

public java.lang.String toString()
Render a printable version of this Rule.
Overrides:
toString in class java.lang.Object


Copyright (c) 2001 - Apache Software Foundation