|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.digester.Rule org.apache.shale.tiger.managed.rules.MapEntriesRule
public class MapEntriesRule
Digester rule for processing a <map-entries>
element.
Field Summary |
---|
Fields inherited from class org.apache.commons.digester.Rule |
---|
digester, namespaceURI |
Constructor Summary | |
---|---|
MapEntriesRule()
Creates a new instance of MapEntriesRule. |
Method Summary | |
---|---|
void |
begin(String namespace,
String name,
Attributes attributes)
Create a new MapEntriesConfig and push it on to the
Digester stack. |
void |
body(String namespace,
String name)
No body processing for this element. |
void |
end(String namespace,
String name)
Pop the MapEntriesConfig instance from the stack,
and either add it or merge it with parent information. |
Methods inherited from class org.apache.commons.digester.Rule |
---|
begin, body, body, 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 |
---|
public MapEntriesRule()
Method Detail |
---|
public void begin(String namespace, String name, Attributes attributes) throws Exception
Create a new MapEntriesConfig
and push it on to the
Digester stack.
begin
in class Rule
namespace
- Namespace URI of the matching elementname
- Local name of the matching elementattributes
- Attribute list of the matching element
Exception
- if a parsing error occurspublic void body(String namespace, String name) throws Exception
No body processing for this element.
namespace
- Namespace URI of the matching elementname
- Local name of the matching element
Exception
- if a parsing error occurspublic void end(String namespace, String name) throws Exception
Pop the MapEntriesConfig
instance from the stack,
and either add it or merge it with parent information.
end
in class Rule
namespace
- Namespace URI of the matching elementname
- Local name of the matching element
IllegalStateException
- if the popped object is not
of the correct type
Exception
- if a different error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |