Packages

c

cats.xml.XmlNodeSyntax

XmlNodeNodeWriteOps

implicit class XmlNodeNodeWriteOps extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XmlNodeNodeWriteOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new XmlNodeNodeWriteOps(node: Node)

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 appendAttr(newAttr: XmlAttribute): Node
  5. def appendAttrs(newAttrs: Seq[XmlAttribute]): Node
  6. def appendAttrs(newAttr: XmlAttribute, newAttrs: XmlAttribute*): Node
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. def prependAttr(newAttr: XmlAttribute): Node
  18. def prependAttrs(newAttrs: Seq[XmlAttribute]): Node
  19. def prependAttrs(newAttr: XmlAttribute, newAttrs: XmlAttribute*): Node
  20. def removeAttr(key: String): Node
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def updateAttr(key: String)(f: Endo[XmlAttribute]): Node
  24. def updateText[T1, T2](f: (T1) => T2)(implicit arg0: Decoder[T1], arg1: DataEncoder[T2]): Node

    Decode and then update node text if content is text.

    Decode and then update node text if content is text.

    If you need raw data see updateTextRaw

  25. def updateText[T](f: Endo[T])(implicit arg0: Decoder[T], arg1: DataEncoder[T], dmi: DummyImplicit): Node

    Decode and then update node text if content is text.

    Decode and then update node text if content is text.

    If you need raw data see updateTextRaw

  26. def updateTextRaw[T](f: (XmlData) => T)(implicit arg0: DataEncoder[T]): Node

    Update node text if content is text.

    Update node text if content is text.

    If you need decoded data see updateText

  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. def withAttributes(attr: XmlAttribute, attrs: XmlAttribute*): Node
  31. def withAttributes(attrs: Seq[XmlAttribute]): Node
  32. def withLabel(newLabel: String): Node

    Rename node label.

    Rename node label. This method isn't pure for usability purpose.

    Throws IllegalArgumentException If the new label values is not valid. See Xml.isValidXmlName

    newLabel

    new label value

    returns

    Same node with updated label

    Annotations
    @impure()
  33. def withText[T](data: T)(implicit arg0: DataEncoder[T]): Node

    Set node content to Text with the specified data.

    Set node content to Text with the specified data. All children nodes will be removed.

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 AnyRef

Inherited from Any

Ungrouped