org.griphyn.vdl.classes
Class Leaf

java.lang.Object
  extended by org.griphyn.vdl.Chimera
      extended by org.griphyn.vdl.classes.VDL
          extended by org.griphyn.vdl.classes.Leaf
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
LFN, Text, Use

public abstract class Leaf
extends VDL
implements Cloneable, Serializable

Leaf is an abstract base class for leaf nodes in the instance tree. FIXME: The content value is actually handled in the child classes, and needs to be unified into this class.

Version:
$Revision: 50 $
Author:
Jens-S. V??ckler, Yong Zhao
See Also:
Text, Use, LFN, Serialized Form

Field Summary
private  String m_value
          Deprecated. Originally we thought to employ this value, but it is currently unused.
 
Constructor Summary
Leaf()
           
 
Method Summary
abstract  Object clone()
          Creates and returns a copy of this object.
 String getValue()
          Deprecated. the attribute is currently unused.
 void setValue(String value)
          Deprecated. the name attribute is currently unused.
 
Methods inherited from class org.griphyn.vdl.Chimera
escape, quote, toString, toString, toXML, toXML, toXML, writeAttribute
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_value

private transient String m_value
Deprecated. Originally we thought to employ this value, but it is currently unused.
This is the name for a value element.

Constructor Detail

Leaf

public Leaf()
Method Detail

clone

public abstract Object clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
a new instance.

getValue

public String getValue()
Deprecated. the attribute is currently unused.

Accessor method. Obtains the current state of the thus named attribute.

Returns:
the current state of the m_name attribute.
See Also:
setValue(String)

setValue

public void setValue(String value)
Deprecated. the name attribute is currently unused.

Accessor method. Sets the attribute of same name to a new value.

Parameters:
value - is the new value to overwrite the current state with.
See Also:
getValue()


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