annotation

org.encalmo.writer.xml.annotation
object annotation

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
annotation.type

Members list

Type members

Classlikes

Annotation to mark a field as an XML attribute.

Annotation to mark a field as an XML attribute.

Attributes

Supertypes
class Annotation
class Object
trait Matchable
class Any

Annotation to mark a field as an XML element content.

Annotation to mark a field as an XML element content.

Attributes

Supertypes
class Annotation
class Object
trait Matchable
class Any
case class xmlItemTag(name: String & Singleton) extends StaticAnnotation

Annotation to define the name of the XML element wrapping each item in an array or collection.

Annotation to define the name of the XML element wrapping each item in an array or collection.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Annotation
class Object
trait Matchable
class Any
Show all

Annotation to switch off wrapping each item in an array or collection in a separate XML element.

Annotation to switch off wrapping each item in an array or collection in a separate XML element.

Attributes

Supertypes
class Annotation
class Object
trait Matchable
class Any

Annotation to omit this element tag when inside a collection or array.

Annotation to omit this element tag when inside a collection or array.

Attributes

Supertypes
class Annotation
class Object
trait Matchable
class Any
case class xmlTag(name: String & Singleton) extends StaticAnnotation

Annotation to define the name of the XML element.

Annotation to define the name of the XML element.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Annotation
class Object
trait Matchable
class Any
Show all

Annotation to use the case name of the enum value as the XML element tag.

Annotation to use the case name of the enum value as the XML element tag.

Attributes

Supertypes
class Annotation
class Object
trait Matchable
class Any
case class xmlValue(value: String & Singleton) extends StaticAnnotation

Annotation to define static value of the XML element, usefull for enums and case objects.

Annotation to define static value of the XML element, usefull for enums and case objects.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Annotation
class Object
trait Matchable
class Any
Show all
case class xmlValueSelector(property: String & Singleton) extends StaticAnnotation

Annotation to extract value of the XML element from the instance field or parameterless method, including Java-style getters.

Annotation to extract value of the XML element from the instance field or parameterless method, including Java-style getters.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Annotation
class Object
trait Matchable
class Any
Show all