Package org.apache.rat.report.xml
Enum XmlElements.Elements
- All Implemented Interfaces:
Serializable
,Comparable<XmlElements.Elements>
- Enclosing class:
XmlElements
The elements in the report.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA document type entryA license elementA license category entryA license name entryA notes elementThe start of the Rat reportA resource elementA statistic entryA statistics elementThe version of Rat being run -
Method Summary
Modifier and TypeMethodDescriptionGets the XML element name.static XmlElements.Elements
Returns the enum constant of this type with the specified name.static XmlElements.Elements[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RAT_REPORT
The start of the Rat report -
VERSION
The version of Rat being run -
RESOURCE
A resource element -
LICENSE
A license element -
NOTES
A notes element -
STATISTICS
A statistics element -
STATISTIC
A statistic entry -
LICENSE_NAME
A license name entry -
LICENSE_CATEGORY
A license category entry -
DOCUMENT_TYPE
A document type entry
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getElementName
Gets the XML element name.- Returns:
- the XML element name.
-