|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<OptionSyntax>
com.cisco.provisioning.cpe.extensions.configuration.OptionSyntax
public enum OptionSyntax
Enumerated type for specifying DOCSIS custom option type. Custom options are those options that have no option description that describes them. Instead, custom options have explicit pre-defined syntax type that identifies the TLV encoding implementation. Each enumerated value is specified using a public static reference. Each syntax value has an integer equivalents, starting at zero (getValue() method) and a string value equal to the enumerated type (toString()).
DOCSISOptionFactory,
OptionValue| Enum Constant Summary | |
|---|---|
ASCII
Custom ascii option. |
|
COMPOUND
Custom compound option |
|
HEX
Custom hex option |
|
IPADDRESS
Custom IP address option |
|
NOLV
Custom option (number only, no length/value) |
|
SNMP
Custom snmp option |
|
| Method Summary | |
|---|---|
String |
toString()
Returns the textual representation of this object. |
static OptionSyntax |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OptionSyntax[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OptionSyntax HEX
public static final OptionSyntax ASCII
public static final OptionSyntax IPADDRESS
public static final OptionSyntax NOLV
public static final OptionSyntax COMPOUND
public static final OptionSyntax SNMP
| Method Detail |
|---|
public static OptionSyntax[] values()
for (OptionSyntax c : OptionSyntax.values()) System.out.println(c);
public static OptionSyntax valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<OptionSyntax>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||