public enum SlpDiscoveryMethod extends Enum<SlpDiscoveryMethod>
Java class for SlpDiscoveryMethod.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SlpDiscoveryMethod">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="slpDhcp"/>
<enumeration value="slpAutoUnicast"/>
<enumeration value="slpAutoMulticast"/>
<enumeration value="slpManual"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
SLP_AUTO_MULTICAST |
SLP_AUTO_UNICAST |
SLP_DHCP |
SLP_MANUAL |
| Modifier and Type | Method and Description |
|---|---|
static SlpDiscoveryMethod |
fromValue(String v) |
String |
value() |
static SlpDiscoveryMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SlpDiscoveryMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SlpDiscoveryMethod SLP_DHCP
public static final SlpDiscoveryMethod SLP_AUTO_UNICAST
public static final SlpDiscoveryMethod SLP_AUTO_MULTICAST
public static final SlpDiscoveryMethod SLP_MANUAL
public static SlpDiscoveryMethod[] values()
for (SlpDiscoveryMethod c : SlpDiscoveryMethod.values()) System.out.println(c);
public static SlpDiscoveryMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static SlpDiscoveryMethod fromValue(String v)
Copyright © 2018. All rights reserved.