public abstract class DigesterRuleBase
extends org.apache.commons.digester3.Rule
implements org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log |
Constructor and Description |
---|
DigesterRuleBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addGlobalWarning(String message)
Add a global message to the application
|
protected void |
addLocalWarning(String msg)
Add a configuration warning message to the current configuration.
|
protected void |
addSuppressableWarning(String msg,
SuppressKeys suppressionKey)
Add a warning message to the current configuration, unless the suppression key is
supporessed in the configuration.
|
void |
begin(String uri,
String elementName,
Attributes attributes) |
void |
end(String namespace,
String name) |
protected Object |
getBean() |
protected Class<?> |
getBeanClass() |
protected ClassLoader |
getClassLoader() |
protected String |
getObjectName()
Returns the name of the object.
|
protected abstract void |
handleAttribute(String name,
String value,
Map<String,String> attributes) |
protected abstract void |
handleBean() |
protected String |
resolveValue(String value) |
body, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
protected String getObjectName()
protected final void addLocalWarning(String msg)
IbisException
when the cause is a SAXParseException
.protected final void addGlobalWarning(String message)
protected final void addSuppressableWarning(String msg, SuppressKeys suppressionKey)
msg
- Message to addsuppressionKey
- SuppressKeys
to check.protected final ClassLoader getClassLoader()
IConfigurationClassLoader
.protected Object getBean()
protected final Class<?> getBeanClass()
protected final String resolveValue(String value)
value
- or values to resolvepublic final void begin(String uri, String elementName, Attributes attributes) throws Exception
begin
in class org.apache.commons.digester3.Rule
Exception
public void end(String namespace, String name) throws Exception
end
in class org.apache.commons.digester3.Rule
Exception
protected abstract void handleBean()
Copyright © 2023 Frank!Framework. All rights reserved.