org.apache.tapestry.parse
Class InitializePropertyRule

java.lang.Object
  extended byorg.apache.commons.digester.Rule
      extended byorg.apache.tapestry.parse.AbstractSpecificationRule
          extended byorg.apache.tapestry.parse.InitializePropertyRule

public class InitializePropertyRule
extends AbstractSpecificationRule

Used to initialize a property of an object on the top of the digester stack. This should come after the ObjectCreateRule (or variation) and before and property setting for the object. Remember that rules order matters with the digester.

Since:
3.0
Version:
$Id: InitializePropertyRule.java,v 1.4 2004/02/19 17:37:41 hlship Exp $
Author:
Howard Lewis Ship

Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
InitializePropertyRule(String propertyName, Object value)
           
 
Method Summary
 void begin(String namespace, String name, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class org.apache.tapestry.parse.AbstractSpecificationRule
getLocation, getResourceLocation, getValue, setProperty
 
Methods inherited from class org.apache.commons.digester.Rule
begin, body, body, end, 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

InitializePropertyRule

public InitializePropertyRule(String propertyName,
                              Object value)
Method Detail

begin

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