Class IterativeDescriptorProcessor

    • Field Detail

      • __signature

        public static final java.lang.Class<?>[] __signature
      • _visitors

        protected java.util.Map<java.lang.String,​java.lang.reflect.Method> _visitors
    • Constructor Detail

      • IterativeDescriptorProcessor

        public IterativeDescriptorProcessor()
    • Method Detail

      • registerVisitor

        public void registerVisitor​(java.lang.String nodeName,
                                    java.lang.reflect.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 - the node name
        m - the method name