Packages

o

cats.xml

XmlNull

case object XmlNull extends Xml with Null with XmlData with Product with Serializable

Linear Supertypes
Product, Equals, XmlData, Serializable, Null, XmlNode, Xml, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XmlNull
  2. Product
  3. Equals
  4. XmlData
  5. Serializable
  6. Null
  7. XmlNode
  8. Xml
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Self = Null
    Definition Classes
    Null → XmlNode

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def as[T](implicit arg0: Decoder[T]): Result[T]
    Definition Classes
    XmlData
  5. final def asAttribute: Option[XmlAttribute]
    Definition Classes
    Xml
  6. final def asData: Option[XmlData]
    Definition Classes
    Xml
  7. final def asGroup: Option[XmlNode.Group]
    Definition Classes
    Xml
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. final def asNode: Option[Node]
    Definition Classes
    Xml
  10. def asString: String
    Definition Classes
    XmlData
  11. final def attributes: List[XmlAttribute]

    Get the node label value

    Get the node label value

    <Foo a="1" b="2" ></Foo> //a="1" b="2"
    returns

    list of node attributes

    Definition Classes
    Null → XmlNode
  12. def children: Seq[XmlNode]
    Definition Classes
    XmlNode
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  14. final def content: NodeContent

    Return the node content which can be:

    Return the node content which can be:

    If you need a specific kind of content please use either XmlNode.text, XmlNode.isEmpty or XmlNode.children instead

    returns

    Node content instance

    Definition Classes
    Null → XmlNode
  15. final def duplicate: XmlNull.type

    Create a new immutable instance with the same values of the current one

    Create a new immutable instance with the same values of the current one

    returns

    A new instance with the same values of the current one

    Definition Classes
    XmlNullXmlData → Null → XmlNodeXml
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def equals(obj: Any): Boolean
    Definition Classes
    XmlNull → Equals → Xml → AnyRef → Any
  18. def fold[T](ifNode: (Node) => T, ifGroup: (XmlNode.Group) => T): T

    T

    result type parameter

    ifNode

    Function invoked when the current node is of type Node

    ifGroup

    Function invoked when the current node is of type Group

    returns

    T value

    Definition Classes
    XmlNode
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. def hasAllAttributes(keyValue: (String, String), keyValues: (String, String)*): Boolean
    Definition Classes
    XmlNode
  21. def hasAllAttributes(value: (XmlAttribute) => Boolean, values: (XmlAttribute) => Boolean*): Boolean
    Definition Classes
    XmlNode
  22. def hasAllAttributesKeys(key: String, keys: String*): Boolean
    Definition Classes
    XmlNode
  23. def hasAllAttributesKeys(key: (String) => Boolean, keys: (String) => Boolean*): Boolean
    Definition Classes
    XmlNode
  24. def hasChild(label: String, predicate: (XmlNode) => Boolean = _ => true): Boolean

    Check if the node has a child with the specified label which satisfies the specified predicate.

    Check if the node has a child with the specified label which satisfies the specified predicate.

    returns

    true if the node has a child with specified label which satisfies the predicate, false otherwise

    Definition Classes
    XmlNode
  25. def hasChildren: Boolean

    Check if the node has children

    Check if the node has children

    returns

    true if the node has children, false otherwise

    Definition Classes
    XmlNode
  26. def hasText: Boolean

    Check is the node has text

    Check is the node has text

    returns

    true if the node has text content, false otherwise. Always false if node is XmlNode.Group

    Definition Classes
    XmlNode
  27. final lazy val isAttribute: Boolean
    Definition Classes
    Xml
  28. final lazy val isData: Boolean
    Definition Classes
    Xml
  29. final def isEmpty: Boolean

    Check if the node has empty content

    Check if the node has empty content

    returns

    true if node content is empty, false otherwise

    Definition Classes
    XmlNullXmlDataXmlNode
  30. lazy val isGroup: Boolean

    Check if the node is a group

    Check if the node is a group

    returns

    true if node is a group, false otherwise

    Definition Classes
    XmlNode
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final lazy val isNode: Boolean
    Definition Classes
    Xml
  33. final lazy val isNull: Boolean
    Definition Classes
    Xml
  34. final def label: String

    Get the node label value

    Get the node label value

    <Foo></Foo> //foo
    returns

    node label string

    Definition Classes
    Null → XmlNode
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. def productElementName(n: Int): String
    Definition Classes
    Product
  39. def productElementNames: Iterator[String]
    Definition Classes
    Product
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def text: Option[XmlData]

    Get node text data

    Get node text data

    returns

    Node text if the content contains text. Always None if node is XmlNode.Group

    Definition Classes
    XmlNode
  42. def textString: String

    Get node text as string

    Get node text as string

    returns

    Node text if the content contains text. Always None if node is XmlNode.Group

    Definition Classes
    XmlNode
  43. final def toGroup: XmlNode.Group

    Convert the node to a group.

    Convert the node to a group. If this instance already is a group it will be returned the same instance.

    Definition Classes
    XmlNode
  44. final def toString(): String
    Definition Classes
    Xml → AnyRef → Any
  45. def unsafeNarrowGroup: XmlNode.Group
    Definition Classes
    XmlNode
    Annotations
    @impure()
  46. def unsafeNarrowNode: Node
    Definition Classes
    XmlNode
    Annotations
    @impure()
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  50. def widen: XmlData
    Definition Classes
    XmlData

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Product

Inherited from Equals

Inherited from XmlData

Inherited from Serializable

Inherited from Null

Inherited from XmlNode

Inherited from Xml

Inherited from AnyRef

Inherited from Any

Ungrouped