Element

zio.blocks.schema.xml.Xml.Element
See theElement companion class
object Element

Attributes

Companion
class
Source
Xml.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Element.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(name: String): Element

Creates an element with just a name (no attributes or children).

Creates an element with just a name (no attributes or children).

Attributes

Source
Xml.scala
def apply(name: String, children: Xml*): Element

Creates an element with a name and children.

Creates an element with a name and children.

Attributes

Source
Xml.scala
def apply(name: String, namespace: String): Element

Creates an element with a name and namespace.

Creates an element with a name and namespace.

Attributes

Source
Xml.scala

Concrete fields

val empty: Element

Creates an empty element with the given name.

Creates an empty element with the given name.

Attributes

Source
Xml.scala