MinimizeMode

scala.xml.MinimizeMode$
object MinimizeMode extends Enumeration

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

Attributes

Graph
Supertypes
class Enumeration
trait Serializable
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited classlikes

protected class Val(i: Int, name: String)

Attributes

Inherited from:
Enumeration
Supertypes
class Value
trait Serializable
trait Ordered[Value]
trait Comparable[Value]
class Object
trait Matchable
class Any
Show all
abstract class Value()

Attributes

Inherited from:
Enumeration
Supertypes
trait Serializable
trait Ordered[Value]
trait Comparable[Value]
class Object
trait Matchable
class Any
Show all
object ValueOrdering

Attributes

Inherited from:
Enumeration
Supertypes
trait Ordering[Value]
trait Equiv[Value]
trait Serializable
trait Comparator[Value]
class Object
trait Matchable
class Any
Show all
object ValueSet

Attributes

Inherited from:
Enumeration
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

final protected def Value(i: Int, name: String): Value

Attributes

Inherited from:
Enumeration
final protected def Value(name: String): Value

Attributes

Inherited from:
Enumeration
final protected def Value(i: Int): Value

Attributes

Inherited from:
Enumeration
final protected def Value: Value

Attributes

Inherited from:
Enumeration
final def apply(x: Int): Value

Attributes

Inherited from:
Enumeration
final def maxId: Int

Attributes

Inherited from:
Enumeration
protected def readResolve(): AnyRef

Attributes

Inherited from:
Enumeration
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Enumeration -> Any
Inherited from:
Enumeration

Attributes

Inherited from:
Enumeration
final def withName(s: String): Value

Attributes

Inherited from:
Enumeration

Concrete fields

val Always: Value

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.

Attributes

val Default: Value

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

Attributes

val Never: Value

Never minimize empty tags.

Never minimize empty tags.

Attributes