org.apache.tapestry.parse
Class BodyRule

java.lang.Object
  |
  +--org.apache.commons.digester.Rule
        |
        +--org.apache.tapestry.parse.AbstractSpecificationRule
              |
              +--org.apache.tapestry.parse.BodyRule

public class BodyRule
extends AbstractSpecificationRule

Variation of org.apache.commons.digester.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,v 1.3 2003/04/17 21:33:48 hlship Exp $
Author:
Howard Lewis Ship

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