MinimizeMode

object MinimizeMode extends Enumeration

Governs how empty elements (i.e. those without child elements) should be serialized.

class Enumeration
trait Serializable
class Object
trait Matchable
class Any

Type members

Inherited classlikes

@SerialVersionUID(value = -3501153230598116017L)
protected class Val
Inherited from
Enumeration
@SerialVersionUID(value = 7091335633555234129L)
abstract class Value
Inherited from
Enumeration
Inherited from
Enumeration
@SerialVersionUID(value = 7229671200427364242L)
class ValueSet
Inherited from
Enumeration
@SerialVersionUID(value = 3L)
object ValueSet
Inherited from
Enumeration

Value members

Inherited methods

final protected def Value(i: Int, name: String): Value
Inherited from
Enumeration
final protected def Value(name: String): Value
Inherited from
Enumeration
final protected def Value(i: Int): Value
Inherited from
Enumeration
final protected def Value: Value
Inherited from
Enumeration
final def apply(x: Int): Value
Inherited from
Enumeration
final def maxId: Int
Inherited from
Enumeration
protected def readResolve(): AnyRef
Inherited from
Enumeration
override def toString(): String
Definition Classes
Enumeration -> Any
Inherited from
Enumeration
Inherited from
Enumeration
final def withName(s: String): Value
Inherited from
Enumeration

Concrete fields

Always minimize empty tags. Note that this may be problematic for XHTML, in which case scala.xml.Xhtml#toXhtml should be used instead.

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

Minimize empty tags if they were originally empty when parsed, or if they were constructed with scala.xml.Elem#minimizeEmpty == true

val Never: Value

Never minimize empty tags.

Never minimize empty tags.