org.apache.tapestry.parse
Class BodyRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by org.apache.tapestry.parse.AbstractSpecificationRule
          extended by org.apache.tapestry.parse.BodyRule

public class BodyRule
extends AbstractSpecificationRule

Variation of BeanPropertySetterRule that does not trim the body text of leading and trailing whitespace. This is important for IListenerBindingSpecifications, where the whitespace may be relevant!

Since:
3.0
Version:
$Id: BodyRule.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

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

BodyRule

public BodyRule(String propertyName)
Method Detail

body

public void body(String namespace,
                 String name,
                 String text)
          throws Exception
Overrides:
body in class org.apache.commons.digester.Rule
Throws:
Exception