public class LifecycleListenerRule extends Rule
Rule that creates a new LifecycleListener instance,
and associates it with the top object on the stack (which must
implement LifecycleListener).
digester, namespaceURI| Constructor and Description |
|---|
LifecycleListenerRule(Digester digester,
String listenerClass,
String attributeName)
Construct a new instance of this Rule.
|
| Modifier and Type | Method and Description |
|---|---|
void |
begin(Attributes attributes)
Handle the beginning of an XML element.
|
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURIpublic LifecycleListenerRule(Digester digester, String listenerClass, String attributeName)
digester - Digester we are associated withlistenerClass - Default name of the LifecycleListener
implementation class to be createdattributeName - Name of the attribute that optionally
includes an override name of the LifecycleListener classpublic void begin(Attributes attributes) throws Exception
Copyright © 2017. All rights reserved.