Class AbstractDigesterRule
java.lang.Object
org.frankframework.configuration.digester.AbstractDigesterRule
- All Implemented Interfaces:
 org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
 ValidateAttributeRule
public abstract class AbstractDigesterRule
extends Object
implements org.springframework.context.ApplicationContextAware
- Author:
 - Niels Meijer
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddGlobalWarning(String message) Add a global message to the applicationprotected final voidaddLocalWarning(String msg) Add a configuration warning message to the current configuration.protected final voidaddSuppressibleWarning(String msg, SuppressKeys suppressionKey) Add a warning message to the current configuration, unless the suppression key is suppressed in the configuration.final voidbegin(String elementName, Attributes attributes) voidprotected ObjectgetBean()protected final Class<?> protected final ClassLoaderprotected StringReturns the name of the object.protected abstract voidprotected abstract voidprotected final StringresolveValue(String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext 
- 
Field Details
- 
log
protected org.apache.logging.log4j.Logger log 
 - 
 - 
Constructor Details
- 
AbstractDigesterRule
public AbstractDigesterRule() 
 - 
 - 
Method Details
- 
getObjectName
Returns the name of the object. In case a Spring proxy is being used, the name will be something like XsltPipe$$EnhancerBySpringCGLIB$$563e6b5d ClassUtils.getUserClass() makes sure the original class will be returned. - 
addLocalWarning
Add a configuration warning message to the current configuration. Display location information conformIbisExceptionwhen the cause is aSAXParseException. - 
addGlobalWarning
Add a global message to the application - 
addSuppressibleWarning
Add a warning message to the current configuration, unless the suppression key is suppressed in the configuration.- Parameters:
 msg- Message to addsuppressionKey-SuppressKeysto check.
 - 
getClassLoader
- Returns:
 - an 
IConfigurationClassLoader. 
 - 
getBean
- Returns:
 - the currently handled object, aka TOP object
 
 - 
getBeanClass
- Returns:
 - the resolved class of the current object
 
 - 
resolveValue
- Parameters:
 value- or values to resolve- Returns:
 - The resolved value(s) using the configuration AppConstants
 
 - 
begin
- Throws:
 Exception
 - 
end
 - 
handleBean
protected abstract void handleBean() - 
handleAttribute
protected abstract void handleAttribute(String name, String value, Map<String, String> attributes) throws Exception- Throws:
 Exception
 
 -