Packages

final class AttrCursor extends HCursor[XmlAttribute, NodeCursor, AttrCursor] with WithDataModifierSupport[XmlAttribute]

Horizontal cursor for node attributes

Self Type
AttrCursor
Linear Supertypes
WithDataModifierSupport[XmlAttribute], WithModifierSupport[XmlAttribute], HCursor[XmlAttribute, NodeCursor, AttrCursor], Cursor[XmlAttribute], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AttrCursor
  2. WithDataModifierSupport
  3. WithModifierSupport
  4. HCursor
  5. Cursor
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AttrCursor(vCursor: NodeCursor, op: Op)

Type Members

  1. type Focus = XmlAttribute
    Definition Classes
    HCursorCursor

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]): FreeCursor[Xml, T]

    Create a FreeCursor which represent a cursor with a free T type as result of the focusing, this implies that a Decoder instance is need to convert the fixed Xml type of the Cursor to the free T type of the FreeCursor.

    Create a FreeCursor which represent a cursor with a free T type as result of the focusing, this implies that a Decoder instance is need to convert the fixed Xml type of the Cursor to the free T type of the FreeCursor.

    So, practically speaking, when the FreeCursor is applied this Cursor is applied and the result is decoded using the specified Decoder for type T.

    T

    free type in which decode the current cursor result

    returns

    A new FreeCursor

    Definition Classes
    Cursor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(obj: Any): Boolean
    Definition Classes
    AttrCursor → AnyRef → Any
  9. 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 succeed Left when fail

    Definition Classes
    AttrCursorCursor
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def head: AttrCursor
    Definition Classes
    AttrCursorHCursor
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def last: AttrCursor
    Definition Classes
    AttrCursorHCursor
  15. def left: AttrCursor
    Definition Classes
    AttrCursorHCursor
  16. def modify[T, U](f: (T) => U)(implicit arg0: Decoder[T], arg1: DataEncoder[U]): Modifier[XmlNode]
    Definition Classes
    AttrCursor → WithDataModifierSupport
  17. def modify(modifier: Endo[XmlAttribute]): Modifier[XmlNode]
    Definition Classes
    AttrCursor → WithModifierSupport
  18. def modify[U](f: (String) => U)(implicit arg0: DataEncoder[U]): Modifier[XmlNode]
    Definition Classes
    WithDataModifierSupport
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. 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
    AttrCursorCursor
  23. def right: AttrCursor
    Definition Classes
    AttrCursorHCursor
  24. def set[U](newValue: U)(implicit arg0: DataEncoder[U]): Modifier[XmlNode]
    Definition Classes
    WithDataModifierSupport
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. final def toString(): String
    Definition Classes
    Cursor → AnyRef → Any
  27. final def up: NodeCursor
    Definition Classes
    HCursor
  28. val vCursor: NodeCursor
    Attributes
    protected
    Definition Classes
    AttrCursorHCursor
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 WithDataModifierSupport[XmlAttribute]

Inherited from WithModifierSupport[XmlAttribute]

Inherited from Cursor[XmlAttribute]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped