org.apache.tapestry.parse
Class SetExtendedPropertyRule
java.lang.Object
|
+--org.apache.commons.digester.Rule
|
+--org.apache.tapestry.parse.AbstractSpecificationRule
|
+--org.apache.tapestry.parse.SetExtendedPropertyRule
- public class SetExtendedPropertyRule
- extends AbstractSpecificationRule
Sets a property from an extended attribute. An extended attribute
is a value that may either be specified inside an XML attribute or,
if the attribute is not present, in the body of the element.
It is not allowed that the value be specified in both places.
The value may be optional or required.
- Since:
- 3.0
- Version:
- $Id: SetExtendedPropertyRule.java,v 1.6 2004/01/19 21:32:14 hlship Exp $
- Author:
- Howard Lewis Ship
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
Methods inherited from class org.apache.commons.digester.Rule |
begin, 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 |
SetExtendedPropertyRule
public SetExtendedPropertyRule(String attributeName,
String propertyName,
boolean required)
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
body
public void body(String namespace,
String name,
String text)
throws Exception
- Overrides:
body
in class org.apache.commons.digester.Rule
Exception
end
public void end(String namespace,
String name)
throws Exception
- Overrides:
end
in class org.apache.commons.digester.Rule
Exception