- All Implemented Interfaces:
Serializable
,Comparable<Name.Quoted>
,Constable
- Enclosing interface:
- Name
A flag indicating whether the name is quoted or not.
Quoting of names can be overridden by
Settings.getRenderQuotedNames()
.
- Author:
- Lukas Eder
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe name is not quoted explicitly.TheName.qualified()
name has mixed values for individualName.quoted()
flags.The name is explicitly quoted.The name is a system name, and thus it is never quoted.The name is explicitly not quoted. -
Method Summary
Modifier and TypeMethodDescriptionstatic Name.Quoted
Returns the enum constant of this class with the specified name.static Name.Quoted[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUOTED
The name is explicitly quoted. -
UNQUOTED
The name is explicitly not quoted. -
SYSTEM
The name is a system name, and thus it is never quoted. -
DEFAULT
The name is not quoted explicitly.The behaviour of this name's quoting is governed by
RenderQuotedNames.EXPLICIT_DEFAULT_QUOTED
andRenderQuotedNames.EXPLICIT_DEFAULT_UNQUOTED
. -
MIXED
TheName.qualified()
name has mixed values for individualName.quoted()
flags.
-
-
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
-