org.apache.tapestry.parse
Class SetConvertedPropertyRule
java.lang.Object
|
+--org.apache.commons.digester.Rule
|
+--org.apache.tapestry.parse.AbstractSpecificationRule
|
+--org.apache.tapestry.parse.SetConvertedPropertyRule
- public class SetConvertedPropertyRule
- extends AbstractSpecificationRule
Rule that applies a conversion of a string value from an attribute into
an object value before assigning it to the property. This is used
to translate values from strings to
Enum
s.
- Since:
- 3.0
- Version:
- $Id: SetConvertedPropertyRule.java,v 1.4 2004/02/19 17:37:41 hlship Exp $
- Author:
- Howard Lewis Ship
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
Method Summary |
void |
begin(String namespace,
String name,
org.xml.sax.Attributes attributes)
|
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 |
SetConvertedPropertyRule
public SetConvertedPropertyRule(Map map,
String attributeName,
String propertyName)
begin
public void begin(String namespace,
String name,
org.xml.sax.Attributes attributes)
throws Exception
- Overrides:
begin
in class org.apache.commons.digester.Rule
Exception