org.tm4j.config.xml
Class SetMemberRule

java.lang.Object
  extended byorg.apache.commons.digester.Rule
      extended byorg.tm4j.config.xml.SetMemberRule

public class SetMemberRule
extends org.apache.commons.digester.Rule

This rule supports setting of Params, it accepts either value or type as attributes to the associated tag. type attributes will be interpreted as class names and instanciated. value attributes will be interpreted as String values The Member is created and set to the top of the stack at the beginn event and set to the next element of the stack at the end event

Author:
Harald Kuhn, harald_kuhn at users.sourceforge.net

Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
SetMemberRule()
           
SetMemberRule(java.lang.String key)
           
 
Method Summary
 void begin(java.lang.String ns, java.lang.String name, org.xml.sax.Attributes attributes)
           
 void end(java.lang.String ns, java.lang.String name)
           
 
Methods inherited from class org.apache.commons.digester.Rule
begin, body, body, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetMemberRule

public SetMemberRule()

SetMemberRule

public SetMemberRule(java.lang.String key)
Method Detail

begin

public void begin(java.lang.String ns,
                  java.lang.String name,
                  org.xml.sax.Attributes attributes)
           throws java.lang.Exception
Throws:
java.lang.Exception

end

public void end(java.lang.String ns,
                java.lang.String name)
         throws java.lang.Exception
Throws:
java.lang.Exception