edu.isi.pegasus.planner.parser
Class ParserStackElement

java.lang.Object
  extended by edu.isi.pegasus.planner.parser.ParserStackElement

public class ParserStackElement
extends Object

This class keeps the name of an element and its corresponding java object reference. The structure is used by the stack in SiteCatalogParser.

Version:
$Revision: 2003 $
Author:
Karan Vahi

Field Summary
private  String mElement
           
private  Object mObject
           
 
Constructor Summary
ParserStackElement(String name, Object obj)
          The overloaded constructor
 
Method Summary
 String getElementName()
          Returns the element name.
 Object getElementObject()
          Returns the object referred to by the element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mElement

private String mElement

mObject

private Object mObject
Constructor Detail

ParserStackElement

public ParserStackElement(String name,
                          Object obj)
The overloaded constructor

Parameters:
name -
obj -
Method Detail

getElementName

public String getElementName()
Returns the element name.

Returns:
name

getElementObject

public Object getElementObject()
Returns the object referred to by the element.

Returns:
the object


Copyright © 2011 The University of Southern California. All Rights Reserved.