public class RuleSupport
extends org.apache.commons.digester.Rule
RuleSupport
is an abstract base class containing useful
helper methods.
Constructor and Description |
---|
RuleSupport()
Base constructor
|
Modifier and Type | Method and Description |
---|---|
protected Class |
getBeanClass()
Gets the class of the bean whose .betwixt file is being digested
|
protected 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 |
protected Class |
loadClass(String className)
Loads the given class using an appropriate
ClassLoader . |
protected XMLBeanInfoDigester getXMLInfoDigester()
XMLBeanInfoDigester
using this rule.XMLBeanInfoDigester
for this ruleprotected XMLIntrospector getXMLIntrospector()
XMLIntrospector
to be used for introspectionXMLIntrospector
to useprotected Class getBeanClass()
Class
of the bean being processedprotected Set getProcessedPropertyNameSet()
protected Class loadClass(String className) throws ClassNotFoundException
ClassLoader
.
Uses Digester.getClassLoader()
.className
- names the class to be loadedClass
loaded, not nullClassNotFoundException
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.