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, HideRule, InfoRule, MappedPropertyRule

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

RuleSupport is an abstract base class containing useful helper methods.

Version:
$Revision: 1.6 $
Author:
James Strachan

Field Summary
 
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  org.apache.commons.betwixt.digester.XMLBeanInfoDigester getXMLInfoDigester()
          Gets XMLBeanInfoDigester using this rule.
protected  org.apache.commons.betwixt.XMLIntrospector getXMLIntrospector()
          Gets XMLIntrospector to be used for introspection
 
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

RuleSupport

public RuleSupport()
Base constructor

Method Detail

getXMLInfoDigester

protected org.apache.commons.betwixt.digester.XMLBeanInfoDigester getXMLInfoDigester()
Gets XMLBeanInfoDigester using this rule.

Returns:
XMLBeanInfoDigester for this rule

getXMLIntrospector

protected org.apache.commons.betwixt.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-2004 The Apache Software Foundation. All Rights Reserved.