org.eclipse.jetty.webapp
类 IterativeDescriptorProcessor

java.lang.Object
  继承者 org.eclipse.jetty.webapp.IterativeDescriptorProcessor
所有已实现的接口:
DescriptorProcessor
直接已知子类:
PlusDescriptorProcessor, StandardDescriptorProcessor, TagLibConfiguration.TldProcessor

public abstract class IterativeDescriptorProcessor
extends Object
implements DescriptorProcessor

IterativeDescriptorProcessor


字段摘要
static Class<?>[] __signature
           
protected  Map<String,Method> _visitors
           
 
构造方法摘要
IterativeDescriptorProcessor()
           
 
方法摘要
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)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

__signature

public static final Class<?>[] __signature

_visitors

protected Map<String,Method> _visitors
构造方法详细信息

IterativeDescriptorProcessor

public IterativeDescriptorProcessor()
方法详细信息

start

public abstract void start(WebAppContext context,
                           Descriptor descriptor)

end

public abstract void end(WebAppContext context,
                         Descriptor descriptor)

registerVisitor

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)

参数:
nodeName -
m -

process

public void process(WebAppContext context,
                    Descriptor descriptor)
             throws Exception

指定者:
接口 DescriptorProcessor 中的 process
抛出:
Exception

visit

protected void visit(WebAppContext context,
                     Descriptor descriptor,
                     XmlParser.Node node)
              throws Exception
抛出:
Exception


Copyright © 2013. All Rights Reserved.