Packages

sealed trait NodeCursor extends Dynamic with VCursor[XmlNode, NodeCursor] with WithModifierSupport[XmlNode]

Vertical cursor for nodes

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

Type Members

  1. type Focus = XmlNode
    Definition Classes
    VCursorCursor

Abstract Value Members

  1. abstract def focus(input: XmlNode): Result[XmlNode]

    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

    input

    target of the cursor

    returns

    Right when succeed Left when fail

    Definition Classes
    Cursor
  2. abstract def history: List[Op]
  3. abstract val lastCursor: NodeCursor
    Attributes
    protected
    Definition Classes
    VCursor

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *: NodeCursor
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def \(nodeName: String): NodeCursor
  6. def \\(nodeName: String): NodeCursor
  7. def andThen(nextNodeCursor: NodeCursor): NodeCursor
  8. def apply(index: Int): NodeCursor
  9. def applyDynamic(nodeName: String)(index: Int): NodeCursor
  10. 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
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def atIndex(index: Int): NodeCursor
  13. def attr(key: String): AttrCursor
  14. def attrAt(index: Long): AttrCursor
  15. def attrHead: AttrCursor
  16. def attrLast: AttrCursor
  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  18. def deepDown(nodeName: String): NodeCursor
  19. def down(nodeName: String): NodeCursor
  20. def downPath(path: String): NodeCursor
  21. def downWildcard: NodeCursor
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def equals(obj: Any): Boolean
    Definition Classes
    NodeCursor → AnyRef → Any
  24. def filter(p: (XmlNode) => Boolean): NodeCursor
  25. def find(p: (XmlNode) => Boolean): NodeCursor
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  28. def head: NodeCursor
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. val isRoot: Boolean
  31. def last: NodeCursor
  32. def modify(modifier: Endo[XmlNode]): Modifier[XmlNode]
    Definition Classes
    NodeCursor → WithModifierSupport
  33. def modifyGroup(modifier: Endo[XmlNode.Group]): Modifier[XmlNode]
  34. def modifyNode(modifier: Endo[Node]): Modifier[XmlNode]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def noop: NodeCursor
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  39. final 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
    NodeCursorCursor
  40. def selectDynamic(nodeName: String): NodeCursor
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def text: TextCursor
  43. final def toString(): String
    Definition Classes
    Cursor → AnyRef → Any
  44. final def up: NodeCursor
    Definition Classes
    VCursor
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. def |(p: (XmlNode) => Boolean): NodeCursor

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 WithModifierSupport[XmlNode]

Inherited from VCursor[XmlNode, NodeCursor]

Inherited from Cursor[XmlNode]

Inherited from Serializable

Inherited from Dynamic

Inherited from AnyRef

Inherited from Any

Ungrouped