| 
 | Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcytoscape.data.readers.GMLNode
public class GMLNode
This class represents a GMLNode. A GMLNode can be either a GML terminal, or contain a mapping from string keys to other GMLNodes
| Field Summary | |
|---|---|
|  boolean | terminalTrue if this node is a terminal. | 
| Constructor Summary | |
|---|---|
| GMLNode()This constructor creates a non-terminal GMLNode. | |
| GMLNode(String string_value)This constructor create a terminal GMLNode. | |
| Method Summary | |
|---|---|
|  void | addMapping(String key,
           GMLNode node)Add a mapping from key to node | 
|  int | compare(Object o1,
        Object o2) | 
|  Double | doubleValue()Get the value of this node as a Double | 
|  Vector | getMapping(String key)Return the data mapped by this key | 
|  Integer | integerValue()Get the value of this node as an Integer | 
|  String | stringValue()Get the value of this node as a String | 
|  String | toString()Return the string representation of this GMLNode. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface java.util.Comparator | 
|---|
| equals | 
| Field Detail | 
|---|
public boolean terminal
| Constructor Detail | 
|---|
public GMLNode(String string_value)
string_value - The terminal value of the GMLNodepublic GMLNode()
| Method Detail | 
|---|
public String toString()
toString in class Object
public int compare(Object o1,
                   Object o2)
compare in interface Comparatorpublic Double doubleValue()
RuntimeException - if the value of this node cannot be interpreted as a Doublepublic Integer integerValue()
RuntimeException - if the value of this node cannot be interpreted as an Integerpublic String stringValue()
public void addMapping(String key,
                       GMLNode node)
key - The key for the mappingnode - The node which will map to the keypublic Vector getMapping(String key)
key - The key to look up
| 
 | www.cytoscape.org | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||