01: package jaxx.tools.jaxxcapture.handlers;
02:
03: import java.util.*;
04: import org.w3c.dom.*;
05:
06: import jaxx.tools.jaxxcapture.*;
07:
08: public class JTabbedPaneHandler extends ObjectHandler {
09: protected void evaluateMethod(Element tag,
10: Stack/*<ContextNode>*/context, JAXXCapture capture) {
11: String methodName = tag.getAttribute("method");
12: if (methodName.equals("addTab")) {
13: MethodNode addTab = new MethodNode(methodName);
14: context.push(addTab);
15: processChildren(tag, context, capture);
16: context.pop();
17: System.err.println(Arrays.asList(addTab.getArguments()));
18: } else
19: super.evaluateMethod(tag, context, capture);
20: }
21: }
|