Package org.languagetool.rules
Enum ITSIssueType
- All Implemented Interfaces:
Serializable
,Comparable<ITSIssueType>
,java.lang.constant.Constable
Some constants for Localization Quality Issue Type from the
Internationalization Tag Set (ITS) Version 2.0. Note that this class is
internal to LanguageTool, it is public only for technical reasons.
- Since:
- 2.5
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ITSIssueType
getIssueType
(String name) toString()
Use this to get the name as it is used in the ITS 2.0 standard (namely lowercase and with hyphens, not camel case)static ITSIssueType
Returns the enum constant of this type with the specified name.static ITSIssueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Terminology
-
Mistranslation
-
Omission
-
Untranslated
-
Addition
-
Duplication
-
Inconsistency
-
Grammar
-
Legal
-
Register
-
LocaleSpecificContent
-
LocaleViolation
-
Style
-
Characters
-
Misspelling
-
Typographical
-
Formatting
-
InconsistentEntities
-
Numbers
-
Markup
-
PatternProblem
-
Whitespace
-
Internationalization
-
Length
-
NonConformance
-
Uncategorized
-
Other
-
-
Field Details
-
name
-
-
Constructor Details
-
ITSIssueType
private ITSIssueType() -
ITSIssueType
-
-
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
-
getIssueType
-
toString
Use this to get the name as it is used in the ITS 2.0 standard (namely lowercase and with hyphens, not camel case)- Overrides:
toString
in classEnum<ITSIssueType>
-