Top Description Fields Constructors Methods
org.eclipse.jetty.ee10.webapp

public abstract Class IterativeDescriptorProcessor

extends Object
implements DescriptorProcessor
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.ee10.webapp.DescriptorProcessor
Known Direct Subclasses
org.eclipse.jetty.ee10.webapp.StandardDescriptorProcessor
Imports
java.lang.reflect.Method, java.util.HashMap, .Iterator, .Map, org.eclipse.jetty.xml.XmlParser

IterativeDescriptorProcessor

Field Summary

Modifier and TypeField and Description
public static final Class<?>[]
protected Map<String, Method>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
end(WebAppContext context, Descriptor descriptor)

public void
public void
registerVisitor(String
the node name
nodeName
,
Method
the method name
m
)

Register a method to be called back when visiting the node with the given name.

public abstract void
start(WebAppContext context, Descriptor descriptor)

protected void
visit(WebAppContext context, Descriptor descriptor, XmlParser.Node node)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

__signatureback to summary
public static final Class<?>[] __signature
_visitorsback to summary
protected Map<String, Method> _visitors

Constructor Detail

IterativeDescriptorProcessorback to summary
public IterativeDescriptorProcessor()

Method Detail

endback to summary
public abstract void end(WebAppContext context, Descriptor descriptor)
processback to summary
public void process(WebAppContext context, Descriptor descriptor) throws Exception

Implements org.eclipse.jetty.ee10.webapp.DescriptorProcessor.process.

Annotations
@Override
registerVisitorback to summary
public void registerVisitor(String nodeName, Method m)

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:String

the node name

m:Method

the method name

startback to summary
public abstract void start(WebAppContext context, Descriptor descriptor)
visitback to summary
protected void visit(WebAppContext context, Descriptor descriptor, XmlParser.Node node) throws Exception