XmlNumber

cats.xml.XmlData$.XmlNumber
See theXmlNumber companion object
sealed trait XmlNumber extends XmlData with Serializable

Attributes

Companion:
object
Graph
Supertypes
trait XmlData
trait Serializable
trait Xml
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

final def toBigDecimal: Option[BigDecimal]
final def toBigInt: Option[BigInt]
final def toByte: Option[Byte]
final def toDouble: Double
final def toFloat: Float
final def toInt: Option[Int]
final def toLong: Option[Long]
final def toShort: Option[Short]

Inherited methods

def as[T : Decoder]: Result[T]

Attributes

Inherited from:
XmlData
final def asAttribute: Option[XmlAttribute]

Attributes

Inherited from:
Xml
final def asData: Option[XmlData]

Attributes

Inherited from:
Xml
final def asGroup: Option[Group]

Attributes

Inherited from:
Xml
final def asNode: Option[Node]

Attributes

Inherited from:
Xml
final def asString: String

Attributes

Inherited from:
Xml
def isEmpty: Boolean

Attributes

Inherited from:
XmlData
final override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Xml -> Any
Inherited from:
Xml

Inherited fields

final lazy val isAttribute: Boolean

Attributes

Inherited from:
Xml
final lazy val isData: Boolean

Attributes

Inherited from:
Xml
final lazy val isNode: Boolean

Attributes

Inherited from:
Xml
final lazy val isNull: Boolean

Attributes

Inherited from:
Xml