Enum LinkTypesEnum
- java.lang.Object
-
- java.lang.Enum<LinkTypesEnum>
-
- net.anotheria.anosite.gen.shared.data.LinkTypesEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LinkTypesEnum>
public enum LinkTypesEnum extends java.lang.Enum<LinkTypesEnum>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkTypesEnumgetConstantByValue(int value)intgetValue()static LinkTypesEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LinkTypesEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final LinkTypesEnum NONE
-
ALTERNATE
public static final LinkTypesEnum ALTERNATE
-
STYLESHEET
public static final LinkTypesEnum STYLESHEET
-
START
public static final LinkTypesEnum START
-
NEXT
public static final LinkTypesEnum NEXT
-
PREV
public static final LinkTypesEnum PREV
-
CONTENTS
public static final LinkTypesEnum CONTENTS
-
INDEX
public static final LinkTypesEnum INDEX
-
GLOSSARY
public static final LinkTypesEnum GLOSSARY
-
COPYRIGHT
public static final LinkTypesEnum COPYRIGHT
-
CHAPTER
public static final LinkTypesEnum CHAPTER
-
SECTION
public static final LinkTypesEnum SECTION
-
SUBSECTION
public static final LinkTypesEnum SUBSECTION
-
APPENDIX
public static final LinkTypesEnum APPENDIX
-
HELP
public static final LinkTypesEnum HELP
-
BOOKMARK
public static final LinkTypesEnum BOOKMARK
-
CANONICAL
public static final LinkTypesEnum CANONICAL
-
-
Method Detail
-
values
public static LinkTypesEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LinkTypesEnum c : LinkTypesEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinkTypesEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
-
getConstantByValue
public static LinkTypesEnum getConstantByValue(int value) throws net.anotheria.asg.exception.ConstantNotFoundException
- Throws:
net.anotheria.asg.exception.ConstantNotFoundException
-
-