Packages

final class TextCursor extends VCursor[XmlData, NodeCursor] with WithDataModifierSupport[XmlData]

Vertical cursor for node Text

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

Instance Constructors

  1. new TextCursor(lastCursor: NodeCursor)

Type Members

  1. type Focus = XmlData
    Definition Classes
    VCursorCursor

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
    TextCursor → AnyRef → Any
  9. def focus(node: XmlNode): Result[XmlData]

    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
    TextCursorCursor
  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. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val lastCursor: NodeCursor
    Attributes
    protected[xml]
    Definition Classes
    TextCursorVCursor
  14. def modify[T, U](f: (T) => U)(implicit arg0: Decoder[T], arg1: DataEncoder[U]): Modifier[XmlNode]
    Definition Classes
    TextCursor → WithDataModifierSupport
  15. def modify(modifier: Endo[XmlData]): Modifier[XmlNode]
    Definition Classes
    TextCursor → WithModifierSupport
  16. def modify[U](f: (String) => U)(implicit arg0: DataEncoder[U]): Modifier[XmlNode]
    Definition Classes
    WithDataModifierSupport
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. 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
    TextCursorCursor
  21. def set[U](newValue: U)(implicit arg0: DataEncoder[U]): Modifier[XmlNode]
    Definition Classes
    WithDataModifierSupport
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. final def toString(): String
    Definition Classes
    Cursor → AnyRef → Any
  24. final def up: NodeCursor
    Definition Classes
    VCursor
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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[XmlData]

Inherited from WithModifierSupport[XmlData]

Inherited from VCursor[XmlData, NodeCursor]

Inherited from Cursor[XmlData]

Inherited from Serializable

Inherited from Dynamic

Inherited from AnyRef

Inherited from Any

Ungrouped