|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.bbk.dcs.automed.hdmstore.EdgeElement
public class EdgeElement
An edge element represents a single element of an edge. Static methods exist to convert
between lists of edge elements and the ASG class used to represent queries in AutoMed.
(In retrospect this class should have been combined with Span
| Method Summary | |
|---|---|
java.lang.String |
dataType()
get the dataType |
static void |
display(java.util.LinkedList edge)
Pretty print an edge |
java.util.LinkedList |
edge()
get the edge |
java.lang.String |
elementType()
get the elementType; |
boolean |
node()
is this element a node? |
java.lang.String |
nodeValue()
get the nodeValue |
static ASG |
toASG(java.util.LinkedList edge)
Convert a LinkedList of edge elements and convert to an ASG |
static ASG |
toASG(java.util.LinkedList edge,
boolean topLevel)
Convert a LinkedList of edge elements and convert to an ASG
If is true return elements as a list, otherwise as a tuple
(so that the ASG returned is a list of tuples) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void display(java.util.LinkedList edge)
public static ASG toASG(java.util.LinkedList edge)
LinkedList of edge elements and convert to an ASG
public static ASG toASG(java.util.LinkedList edge,
boolean topLevel)
LinkedList of edge elements and convert to an ASG
If is true return elements as a list, otherwise as a tuple
(so that the ASG returned is a list of tuples)
public java.lang.String dataType()
public java.util.LinkedList edge()
public java.lang.String elementType()
public boolean node()
public java.lang.String nodeValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||