Serializable, Comparable<WhiteSpaceEnum>, XsdEnum<WhiteSpaceEnum>public enum WhiteSpaceEnum extends Enum<WhiteSpaceEnum> implements XsdEnum<WhiteSpaceEnum>
Enum with all the possible values for the whiteSpace attribute.| Modifier and Type | Method | Description |
|---|---|---|
List<String> |
getSupportedValues() |
|
String |
getValue() |
|
WhiteSpaceEnum[] |
getValues() |
|
String |
getVariableName() |
|
static WhiteSpaceEnum |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static WhiteSpaceEnum[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhiteSpaceEnum PRESERVE
public static final WhiteSpaceEnum COLLAPSE
public static final WhiteSpaceEnum REPLACE
private final String value
public static WhiteSpaceEnum[] values()
for (WhiteSpaceEnum c : WhiteSpaceEnum.values()) System.out.println(c);
public static WhiteSpaceEnum 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 getValue()
getValue in interface XsdEnum<WhiteSpaceEnum>public String getVariableName()
getVariableName in interface XsdEnum<WhiteSpaceEnum>Enum represents.public WhiteSpaceEnum[] getValues()
getValues in interface XsdEnum<WhiteSpaceEnum>Enum type.public List<String> getSupportedValues()
getSupportedValues in interface XsdEnum<WhiteSpaceEnum>Copyright © 2018. All rights reserved.