Enum Class StyleSheets
- All Implemented Interfaces:
Serializable, Comparable<StyleSheets>, Constable
The enumeration of system defined stylesheets.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe missing header report style sheetThe plain style sheet.The unapproved licenses reportThe plain style sheet. -
Method Summary
Modifier and TypeMethodDescriptionarg()Gets the name of the xslt file.desc()Gets the description of the xslt file.org.apache.commons.io.function.IOSupplier<InputStream> Gets the IOSupplier for a style sheet.static org.apache.commons.io.function.IOSupplier<InputStream> getStyleSheet(String name) Gets the IOSupplier for a style sheet.static StyleSheetsReturns the enum constant of this class with the specified name.static StyleSheets[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLAIN
The plain style sheet. The current default. -
MISSING_HEADERS
The missing header report style sheet -
UNAPPROVED_LICENSES
The unapproved licenses report -
XML
The plain style sheet. The current default.
-
-
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
-
getStyleSheet
Gets the IOSupplier for a style sheet.- Returns:
- an IOSupplier for the sheet.
-
getStyleSheet
Gets the IOSupplier for a style sheet.- Parameters:
name- the short name for or the path to a style sheet.- Returns:
- the IOSupplier for the style sheet.
-
arg
Gets the name of the xslt file.- Returns:
- the name of the xslt file, without the extension.
-
desc
Gets the description of the xslt file.- Returns:
- the description of the xslt file.
-