xmlAttribute

zio.blocks.schema.xml.xmlAttribute
See thexmlAttribute companion object
case class xmlAttribute(name: String = ...) extends StaticAnnotation

Marks a field to be encoded as an XML attribute instead of a child element.

Value parameters

name

Optional custom name for the attribute. If empty, the field name is used.

Attributes

Companion
object
Source
xmlAttribute.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala