implicit class XmlNodeNodeWriteOps extends AnyRef
- Alphabetic
- By Inheritance
- XmlNodeNodeWriteOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def appendAttr(newAttr: XmlAttribute): Node
- def appendAttrs(newAttrs: Seq[XmlAttribute]): Node
- def appendAttrs(newAttr: XmlAttribute, newAttrs: XmlAttribute*): Node
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def prependAttr(newAttr: XmlAttribute): Node
- def prependAttrs(newAttrs: Seq[XmlAttribute]): Node
- def prependAttrs(newAttr: XmlAttribute, newAttrs: XmlAttribute*): Node
- def removeAttr(key: String): Node
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updateAttr(key: String)(f: Endo[XmlAttribute]): Node
- 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
- 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
- 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
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAttributes(attr: XmlAttribute, attrs: XmlAttribute*): Node
- def withAttributes(attrs: Seq[XmlAttribute]): Node
- 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()
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)