A class implementing the scala.Enumeration.Value type.
The type of the enumerated values.
A class for sets of values.
Always minimize empty tags.
Always minimize empty tags. Note that this may be problematic for XHTML, in which
case scala.xml.Xhtml#toXhtml
should be used instead.
Minimize empty tags if they were originally empty when parsed, or if they were constructed
with scala.xml.Elem#minimizeEmpty
== true
Never minimize empty tags.
Creates a fresh value, part of this enumeration, called name
and identified by the integer i
.
Creates a fresh value, part of this enumeration, called name
and identified by the integer i
.
An integer that identifies this value at run-time. It must be unique amongst all values of the enumeration.
A human-readable name for that value.
Fresh value with the provided identifier i
and name name
.
Creates a fresh value, part of this enumeration, called name
.
Creates a fresh value, part of this enumeration, called name
.
A human-readable name for that value.
Fresh value called name
.
Creates a fresh value, part of this enumeration, identified by the
integer i
.
Creates a fresh value, part of this enumeration, identified by the
integer i
.
An integer that identifies this value at run-time. It must be unique amongst all values of the enumeration.
Fresh value identified by i
.
Creates a fresh value, part of this enumeration.
Creates a fresh value, part of this enumeration.
An ordering by id for values of this set
A factory object for value sets
The value of this enumeration with given id x
The value of this enumeration with given id x
The one higher than the highest integer amongst those used to identify values in this enumeration.
The one higher than the highest integer amongst those used to identify values in this enumeration.
The integer to use to identify the next created value.
The integer to use to identify the next created value.
The string to use to name the next created value.
The string to use to name the next created value.
The name of this enumeration.
The name of this enumeration.
The values of this enumeration as a set.
The values of this enumeration as a set.
Return a Value
from this Enumeration
whose name matches
the argument s
.
Return a Value
from this Enumeration
whose name matches
the argument s
. The names are determined automatically via reflection.
an Enumeration
name
the Value
of this Enumeration
if its name matches s
if no Value
with a matching
name is in this Enumeration
Governs how empty elements (i.e. those without child elements) should be serialized.