Package com.j3d.gen.docs.reader.tokens
Enum Class WrapperType
- All Implemented Interfaces:
Serializable,Comparable<WrapperType>,Constable
Enum representing different types of wrappers or blocks of content that can be
found in a document.
- Author:
- Lehlogonolo Poole
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a block of code.Represents a header element (e.g., H1, H2, etc.).Represents a generic HTML tag that is not specifically handled by other wrapper types.Represents a line separator.Represents a hyperlink.Represents a paragraph of text. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WrapperTypeReturns the enum constant of this class with the specified name.static WrapperType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEADER
Represents a header element (e.g., H1, H2, etc.). -
HTML_TAG
Represents a generic HTML tag that is not specifically handled by other wrapper types. -
LINK
Represents a hyperlink. -
PARAGRAPH
Represents a paragraph of text. -
LINE_SEPARATOR
Represents a line separator. -
CODEBLOCK
Represents a block of code.
-
-
Constructor Details
-
WrapperType
private WrapperType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-