public abstract class IterativeDescriptorProcessor extends Object implements DescriptorProcessor
Modifier and Type | Field and Description |
---|---|
static Class<?>[] |
__signature |
protected Map<String,Method> |
_visitors |
Constructor and Description |
---|
IterativeDescriptorProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
end(WebAppContext context,
Descriptor descriptor) |
void |
process(WebAppContext context,
Descriptor descriptor) |
void |
registerVisitor(String nodeName,
Method m)
Register a method to be called back when visiting the node with the given name.
|
abstract void |
start(WebAppContext context,
Descriptor descriptor) |
protected void |
visit(WebAppContext context,
Descriptor descriptor,
XmlParser.Node node) |
public static final Class<?>[] __signature
public abstract void start(WebAppContext context, Descriptor descriptor)
public abstract void end(WebAppContext context, Descriptor descriptor)
public void registerVisitor(String nodeName, Method m)
nodeName
- m
- public void process(WebAppContext context, Descriptor descriptor) throws Exception
process
in interface DescriptorProcessor
Exception
protected void visit(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws Exception
Exception
Copyright © 1995-2015 Webtide. All Rights Reserved.