org.apache.commons.betwixt.digester
Class RuleSupport

java.lang.Object
  |
  +--org.apache.commons.digester.Rule
        |
        +--org.apache.commons.betwixt.digester.RuleSupport
Direct Known Subclasses:
AddDefaultsRule, AttributeRule, ElementRule, HideRule, InfoRule

public class RuleSupport
extends org.apache.commons.digester.Rule

RuleSupport is an abstract base class containing useful helper methods.

Version:
$Revision: 1.3 $
Author:
James Strachan

Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
RuleSupport()
          Base constructor
 
Method Summary
protected  java.lang.Class getBeanClass()
          Gets the class of the bean whose .betwixt file is being digested
protected  java.util.Set getProcessedPropertyNameSet()
          Gets the property names already processed
protected  XMLBeanInfoDigester getXMLInfoDigester()
          Gets XMLBeanInfoDigester using this rule.
protected  XMLIntrospector getXMLIntrospector()
          Gets XMLIntrospector to be used for introspection
 
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
 

Constructor Detail

RuleSupport

public RuleSupport()
Base constructor
Method Detail

getXMLInfoDigester

protected XMLBeanInfoDigester getXMLInfoDigester()
Gets XMLBeanInfoDigester using this rule.
Returns:
XMLBeanInfoDigester for this rule

getXMLIntrospector

protected XMLIntrospector getXMLIntrospector()
Gets XMLIntrospector to be used for introspection
Returns:
XMLIntrospector to use

getBeanClass

protected java.lang.Class getBeanClass()
Gets the class of the bean whose .betwixt file is being digested
Returns:
the Class of the bean being processed

getProcessedPropertyNameSet

protected java.util.Set getProcessedPropertyNameSet()
Gets the property names already processed
Returns:
the set of property names that have been processed so far


Copyright © 2002-2003 Apache Software Foundation. All Rights Reserved.