Package org.eclipse.jetty.webapp
Class IterativeDescriptorProcessor
java.lang.Object
org.eclipse.jetty.webapp.IterativeDescriptorProcessor
- All Implemented Interfaces:
DescriptorProcessor
- Direct Known Subclasses:
ExtraXmlDescriptorProcessor
,PlusDescriptorProcessor
,QuickStartDescriptorProcessor
,StandardDescriptorProcessor
IterativeDescriptorProcessor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract 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)
-
Field Details
-
__signature
-
_visitors
-
-
Constructor Details
-
IterativeDescriptorProcessor
public IterativeDescriptorProcessor()
-
-
Method Details
-
start
-
end
-
registerVisitor
Register a method to be called back when visiting the node with the given name. The method must exist on a subclass of this class, and must have the signature: public void method (Descriptor descriptor, XmlParser.Node node)- Parameters:
nodeName
- the node namem
- the method name
-
process
- Specified by:
process
in interfaceDescriptorProcessor
- Throws:
Exception
-
visit
protected void visit(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws Exception - Throws:
Exception
-