annotations library

Classes

alias
Defines the XML attribute name for a field when the attribute name doesn't match the field name.
Constructor
Use @constructor
convert
Defines the String-to-value conversion for this field.
custom
Injects code into the parser to set up the current attribute (e.g. when @convert isn't adequate)
ifEquals
Defines a bool that is true when the field contains a certain string.
ifMatches
Defines a bool that is true when the field contains a certain regular expression.
tag
Specifies the XML tag for a class.
TextElement
Use @textElement

Constants

constructor → const Constructor
Labels the constructor to use when there's more than one available.
textElement → const TextElement
Denotes a field as coming from the XML text inside the current tag.