01: /*
02: * This file or a portion of this file is licensed under the terms of
03: * the Globus Toolkit Public License, found in file GTPL, or at
04: * http://www.globus.org/toolkit/download/license.html. This notice must
05: * appear in redistributions of this file, with or without modification.
06: *
07: * Redistributions of this Software, with or without modification, must
08: * reproduce the GTPL in: (1) the Software, or (2) the Documentation or
09: * some other similar material which is provided with the Software (if
10: * any).
11: *
12: * Copyright 1999-2004 University of Chicago and The University of
13: * Southern California. All rights reserved.
14: */
15:
16: package org.griphyn.vdl.parser;
17:
18: import org.griphyn.vdl.classes.*;
19: import java.util.*;
20:
21: /**
22: * This class keeps the name of an element and its corresponding
23: * java object reference. The structure is used by the stack in
24: * <code>VDLContentHandler</code>.
25: *
26: * @author Jens-S. Vöckler
27: * @author Yong Zhao
28: * @version $Revision: 50 $
29: *
30: * @see VDLContentHandler
31: */
32: public class StackElement {
33: public String m_name;
34: public VDL m_obj;
35:
36: public StackElement(String name, VDL vdl) {
37: m_name = new String(name);
38: m_obj = vdl;
39: }
40: }
|