Restriction

data class Restriction(val base: QName, val enumeration: List<Enumeration> = emptyList(), val minLength: Restriction.MinLength? = null, val maxLength: Restriction.MaxLength? = null, val minInclusive: Restriction.MinInclusive? = null, val maxInclusive: Restriction.MaxInclusive? = null, val fractionDigits: Restriction.FractionDigits? = null, val totalDigits: Restriction.TotalDigits? = null, val length: Restriction.Length? = null)(source)

Constructors

Link copied to clipboard
constructor(base: QName, enumeration: List<Enumeration> = emptyList(), minLength: Restriction.MinLength? = null, maxLength: Restriction.MaxLength? = null, minInclusive: Restriction.MinInclusive? = null, maxInclusive: Restriction.MaxInclusive? = null, fractionDigits: Restriction.FractionDigits? = null, totalDigits: Restriction.TotalDigits? = null, length: Restriction.Length? = null)

Types

Link copied to clipboard
data class FractionDigits(val value: Int)
Link copied to clipboard
data class Length(val value: Int)
Link copied to clipboard
data class MaxInclusive(val value: Int)
Link copied to clipboard
data class MaxLength(val value: Int)
Link copied to clipboard
data class MinInclusive(val value: Int)
Link copied to clipboard
data class MinLength(val value: Int)
Link copied to clipboard
data class TotalDigits(val value: Int)

Properties

Link copied to clipboard
@Serializable(with = QNameSerializer::class)
val base: QName
Link copied to clipboard
@XmlElement
@XmlSerialName(value = "enumeration", namespace = "http://www.w3.org/2001/XMLSchema")
val enumeration: List<Enumeration>
Link copied to clipboard
@XmlElement
@XmlSerialName(value = "fractionDigits", namespace = "http://www.w3.org/2001/XMLSchema")
val fractionDigits: Restriction.FractionDigits?
Link copied to clipboard
@XmlElement
@XmlSerialName(value = "length", namespace = "http://www.w3.org/2001/XMLSchema")
val length: Restriction.Length?
Link copied to clipboard
@XmlElement
@XmlSerialName(value = "maxInclusive", namespace = "http://www.w3.org/2001/XMLSchema")
val maxInclusive: Restriction.MaxInclusive?
Link copied to clipboard
@XmlElement
@XmlSerialName(value = "maxLength", namespace = "http://www.w3.org/2001/XMLSchema")
val maxLength: Restriction.MaxLength?
Link copied to clipboard
@XmlElement
@XmlSerialName(value = "minInclusive", namespace = "http://www.w3.org/2001/XMLSchema")
val minInclusive: Restriction.MinInclusive?
Link copied to clipboard
@XmlElement
@XmlSerialName(value = "minLength", namespace = "http://www.w3.org/2001/XMLSchema")
val minLength: Restriction.MinLength?
Link copied to clipboard
@XmlElement
@XmlSerialName(value = "totalDigits", namespace = "http://www.w3.org/2001/XMLSchema")
val totalDigits: Restriction.TotalDigits?