XmlFormat

play.twirl.api.XmlFormat
object XmlFormat extends Format[Xml]

Formatter for XML content.

Attributes

Graph
Supertypes
trait Format[Xml]
class Object
trait Matchable
class Any
Self type
XmlFormat.type

Members list

Type members

Inherited types

type Appendable = Xml

Attributes

Inherited from:
Format

Value members

Concrete methods

def escape(text: String): Xml

Creates an escaped XML fragment.

Creates an escaped XML fragment.

Attributes

def fill(elements: Seq[Xml]): Xml

Create an XML Fragment that holds other fragments.

Create an XML Fragment that holds other fragments.

Attributes

def raw(text: String): Xml

Creates an XML fragment.

Creates an XML fragment.

Attributes

Concrete fields

val empty: Xml

Generate an empty XML fragment

Generate an empty XML fragment

Attributes