final class AttrCursor extends HCursor[XmlAttribute, NodeCursor, AttrCursor] with WithDataModifierSupport[XmlAttribute]
- Alphabetic
- By Inheritance
- AttrCursor
- WithDataModifierSupport
- WithModifierSupport
- HCursor
- Cursor
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AttrCursor(vCursor: NodeCursor, op: Op)
Type Members
- type Focus = XmlAttribute
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 as[T](implicit arg0: Decoder[T]): FreeCursor[Xml, T]
Create a
FreeCursor
which represent a cursor with a freeT
type as result of the focusing, this implies that aDecoder
instance is need to convert the fixedXml
type of theCursor
to the freeT
type of theFreeCursor
.Create a
FreeCursor
which represent a cursor with a freeT
type as result of the focusing, this implies that aDecoder
instance is need to convert the fixedXml
type of theCursor
to the freeT
type of theFreeCursor
.So, practically speaking, when the
FreeCursor
is applied thisCursor
is applied and the result is decoded using the specifiedDecoder
for typeT
.- T
free type in which decode the current cursor result
- returns
A new
FreeCursor
- Definition Classes
- Cursor
- 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(obj: Any): Boolean
- Definition Classes
- AttrCursor → AnyRef → Any
- def focus(xml: XmlNode): Result[XmlAttribute]
Apply the current cursor to the specified input.
Apply the current cursor to the specified input. This allows to select a precise part of the
Xml
tree.The method is pure and return a Left when the focusing fails
- returns
Right
when succeedLeft
when fail
- Definition Classes
- AttrCursor → Cursor
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def head: AttrCursor
- Definition Classes
- AttrCursor → HCursor
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def last: AttrCursor
- Definition Classes
- AttrCursor → HCursor
- def left: AttrCursor
- Definition Classes
- AttrCursor → HCursor
- def modify[T, U](f: (T) => U)(implicit arg0: Decoder[T], arg1: DataEncoder[U]): Modifier[XmlNode]
- Definition Classes
- AttrCursor → WithDataModifierSupport
- def modify(modifier: Endo[XmlAttribute]): Modifier[XmlNode]
- Definition Classes
- AttrCursor → WithModifierSupport
- def modify[U](f: (String) => U)(implicit arg0: DataEncoder[U]): Modifier[XmlNode]
- Definition Classes
- WithDataModifierSupport
- 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()
- lazy val path: String
A String representation of the cursor.
A String representation of the cursor.
- returns
a String which represent the cursor path
- Definition Classes
- AttrCursor → Cursor
- def right: AttrCursor
- Definition Classes
- AttrCursor → HCursor
- def set[U](newValue: U)(implicit arg0: DataEncoder[U]): Modifier[XmlNode]
- Definition Classes
- WithDataModifierSupport
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toString(): String
- Definition Classes
- Cursor → AnyRef → Any
- final def up: NodeCursor
- Definition Classes
- HCursor
- val vCursor: NodeCursor
- Attributes
- protected
- Definition Classes
- AttrCursor → HCursor
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)