org.apache.tapestry.parse
Class AbstractSpecificationRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by org.apache.tapestry.parse.AbstractSpecificationRule
Direct Known Subclasses:
BodyRule, ComponentCopyOfRule, ConnectChildRule, DisallowFrameworkNamespaceRule, InitializePropertyRule, SetBooleanPropertyRule, SetConvertedPropertyRule, SetExtendedPropertyRule, SetLimitedPropertiesRule, SetMetaPropertyRule, SetPublicIdRule, ValidateRule

public abstract class AbstractSpecificationRule
extends org.apache.commons.digester.Rule

Placeholder for utility methods needed by the various specification-oriented Rules.

Since:
3.0
Version:
$Id: AbstractSpecificationRule.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
AbstractSpecificationRule()
           
 
Method Summary
protected  ILocation getLocation()
          Gets the current location tag.
protected  IResourceLocation getResourceLocation()
           
protected  String getValue(org.xml.sax.Attributes attributes, String name)
           
protected  void setProperty(String propertyName, Object value)
           
 
Methods inherited from class org.apache.commons.digester.Rule
begin, 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

AbstractSpecificationRule

public AbstractSpecificationRule()
Method Detail

getValue

protected String getValue(org.xml.sax.Attributes attributes,
                          String name)

setProperty

protected void setProperty(String propertyName,
                           Object value)
                    throws Exception
Throws:
Exception

getLocation

protected ILocation getLocation()
Gets the current location tag. This requires that the rule's digester be SpecificationDigester.


getResourceLocation

protected IResourceLocation getResourceLocation()