|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ElementKind>
org.jnetstream.lang.npl.model.ElementKind
public enum ElementKind
The kind of an NPL element.
| Enum Constant Summary | |
|---|---|
FIELD
A field within a header. |
|
HEADER
A protocols' header type. |
|
IMPORT
NPL or java import statement. |
|
LOCAL_PROPERTY
A non-shared property exported with the packet, header or field. |
|
LOCAL_VARIABLE
A local variable. |
|
METHOD
A method declaration. |
|
PACKAGE
A package declaration. |
|
PARAMETER
A parameter of a method or constructor. |
|
SHARED_PROPERTY
A shared property exported with the packet, header or a field. |
|
TABLE
A table type. |
|
TABLE_CONSTANT
A constant within a table. |
|
| Method Summary | |
|---|---|
static ElementKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ElementKind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ElementKind HEADER
public static final ElementKind TABLE
public static final ElementKind TABLE_CONSTANT
public static final ElementKind FIELD
public static final ElementKind METHOD
public static final ElementKind PACKAGE
public static final ElementKind IMPORT
public static final ElementKind PARAMETER
public static final ElementKind LOCAL_VARIABLE
public static final ElementKind LOCAL_PROPERTY
public static final ElementKind SHARED_PROPERTY
Ethernet headers will have the exact same
instance of all the same shared properties. Therefore any modification to
the shared property will be reflected in all of the existing or future
instances of Ethernet header.
| Method Detail |
|---|
public static final ElementKind[] values()
for(ElementKind c : ElementKind.values())
System.out.println(c);
public static ElementKind 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||