|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.bbk.dcs.automed.hdmstore.Edge
public class Edge
A Edge represents an HDM edge, which can be of any length, each
element (or Span) can be a node or an edge and edges can
be named (optionally).
| Constructor Summary | |
|---|---|
Edge(java.lang.String edgeDef,
java.lang.String[] args)
Construct a representation of an edge from a string representing its type and an array of spans |
|
| Method Summary | |
|---|---|
java.lang.String |
edgeValueAsString()
Get the edge values as a string |
static java.lang.String |
hideInternalSeperators(java.lang.String orig)
Remove commas that are not at the 'top level' e.g. |
java.lang.String |
name()
Get the edge name |
java.util.ArrayList |
path()
Get the edge value as a path of spans |
static java.lang.String |
returnInternalSeperators(java.lang.String orig)
If commas that are not at the 'top level' have been removed, replace them e.g. |
java.lang.String |
type()
Get the edge type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Edge(java.lang.String edgeDef,
java.lang.String[] args)
| Method Detail |
|---|
public java.lang.String name()
public java.lang.String type()
public java.lang.String edgeValueAsString()
public java.util.ArrayList path()
public static java.lang.String hideInternalSeperators(java.lang.String orig)
public static java.lang.String returnInternalSeperators(java.lang.String orig)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||