|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TextRepresentationElement.Symbol>
net.xqhs.graphs.representation.text.TextRepresentationElement.Symbol
public static enum TextRepresentationElement.Symbol
An enumeration of the characters that may appear in a textual representation. None of them is allowed to appear
in the label of nodes or edges, except for EDGE_LIMIT, that may appear in edge labels.
These constants are used both at reading and at producing a representation.
| Enum Constant Summary | |
|---|---|
BRANCH_IN
Symbol that marks the beginning of a subtree with the last node as root, that is not the last subtree of the root. |
|
BRANCH_OUT
Symbol that marks the beginning of a subtree with the last node as root, that is not the last subtree of the root. |
|
EDGE_ENDING_BACKWARD
Symbol that indicates the destination end of an edge in a 'backwards' representation. |
|
EDGE_ENDING_FORWARD
Symbol that indicates the destination end of an edge. |
|
EDGE_LIMIT
Symbol that marks the beginning of an edge, and may also be found immediately before the destination marker. |
|
ELEMENT_CONTAINER_IN
Symbol that marks the beginning of a container element (i.e. |
|
ELEMENT_CONTAINER_OUT
Symbol that marks the ending of a container element (i.e. |
|
EXTERNAL_LINK_PREFIX
Prefix to the representation of a node that is not part of the current subgraph. |
|
INTERNAL_LINK_PREFIX
Prefix to the representation of a node that has appeared previously (from left to right) in the representation. |
|
SUBGRAPH_SEPARATOR
Separator between the representations of two subgraphs. |
|
| Field Summary | |
|---|---|
private java.lang.String |
symbol
The actual textual representation of the symbol. |
| Method Summary | |
|---|---|
java.lang.String |
toRegexp()
Returns a value that can be included in a regular expressions pattern (as for String.split(String))
without worries that the characters in the symbol will be taken as special values. |
java.lang.String |
toString()
|
static TextRepresentationElement.Symbol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TextRepresentationElement.Symbol[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TextRepresentationElement.Symbol ELEMENT_CONTAINER_IN
public static final TextRepresentationElement.Symbol ELEMENT_CONTAINER_OUT
public static final TextRepresentationElement.Symbol SUBGRAPH_SEPARATOR
public static final TextRepresentationElement.Symbol INTERNAL_LINK_PREFIX
public static final TextRepresentationElement.Symbol EXTERNAL_LINK_PREFIX
public static final TextRepresentationElement.Symbol BRANCH_IN
public static final TextRepresentationElement.Symbol BRANCH_OUT
public static final TextRepresentationElement.Symbol EDGE_LIMIT
public static final TextRepresentationElement.Symbol EDGE_ENDING_FORWARD
public static final TextRepresentationElement.Symbol EDGE_ENDING_BACKWARD
| Field Detail |
|---|
private java.lang.String symbol
| Method Detail |
|---|
public static TextRepresentationElement.Symbol[] values()
for (TextRepresentationElement.Symbol c : TextRepresentationElement.Symbol.values()) System.out.println(c);
public static TextRepresentationElement.Symbol valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<TextRepresentationElement.Symbol>public java.lang.String toRegexp()
String.split(String))
without worries that the characters in the symbol will be taken as special values.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||