trait VCursor[HFocus <: Xml, +VC <: VCursor[_, VC]] extends Dynamic with Cursor[HFocus]
- Alphabetic
- By Inheritance
- VCursor
- Cursor
- Serializable
- Dynamic
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def focus(input: XmlNode): Result[HFocus]
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 succeedLeft
when fail
- Definition Classes
- Cursor
- abstract val lastCursor: VC
- Attributes
- protected
- abstract def path: String
A String representation of the cursor.
A String representation of the cursor.
- returns
a String which represent the cursor path
- Definition Classes
- Cursor
Concrete 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(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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toString(): String
- Definition Classes
- Cursor → AnyRef → Any
- final def up: VC
- 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)