KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > xml > schema > abe > visitors > BackTraversalVisitor


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19 /*
20  * ComponentBeforeVisitor.java
21  *
22  * Created on August 30, 2006, 8:27 PM
23  *
24  * To change this template, choose Tools | Template Manager
25  * and open the template in the editor.
26  */

27
28 package org.netbeans.modules.xml.schema.abe.visitors;
29
30 import org.netbeans.modules.xml.schema.abe.ABEBaseDropPanel;
31 import org.netbeans.modules.xml.schema.abe.AttributePanel;
32 import org.netbeans.modules.xml.schema.abe.CompositorPanel;
33 import org.netbeans.modules.xml.schema.abe.GlobalComplextypeContainerPanel;
34 import org.netbeans.modules.xml.schema.abe.GlobalElementsContainerPanel;
35 import org.netbeans.modules.xml.schema.abe.NamespacePanel;
36 import org.netbeans.modules.xml.schema.abe.StartTagPanel;
37
38 /**
39  *
40  * @author girix
41  */

42 public class BackTraversalVisitor extends TraversalVisitor{
43     ABEBaseDropPanel currentComponent;
44     ABEBaseDropPanel result;
45     
46     /** Creates a new instance of ComponentBeforeVisitor */
47     public BackTraversalVisitor(ABEBaseDropPanel currentComponent) {
48         this.currentComponent = currentComponent;
49     }
50     
51     public ABEBaseDropPanel getResult(){
52         return result;
53     }
54
55     public void visit(GlobalComplextypeContainerPanel panel) {
56         super.visit(panel);
57     }
58
59     public void visit(AttributePanel panel) {
60         super.visit(panel);
61     }
62
63     public void visit(GlobalElementsContainerPanel panel) {
64         super.visit(panel);
65     }
66
67     public void visit(StartTagPanel panel) {
68         super.visit(panel);
69     }
70
71     public void visit(NamespacePanel panel) {
72         super.visit(panel);
73     }
74
75     public void visit(CompositorPanel panel) {
76         super.visit(panel);
77     }
78     
79     
80 }
81
Popular Tags