sealed trait NodeCursor extends Dynamic with VCursor[XmlNode, NodeCursor] with WithModifierSupport[XmlNode]
- Alphabetic
- By Inheritance
- NodeCursor
- WithModifierSupport
- VCursor
- Cursor
- Serializable
- Dynamic
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- 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 succeedLeft
when fail
- Definition Classes
- Cursor
- abstract def history: List[Op]
- abstract val lastCursor: NodeCursor
- Attributes
- protected
- Definition Classes
- VCursor
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *: NodeCursor
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def \(nodeName: String): NodeCursor
- def \\(nodeName: String): NodeCursor
- def andThen(nextNodeCursor: NodeCursor): NodeCursor
- def apply(index: Int): NodeCursor
- def applyDynamic(nodeName: String)(index: Int): NodeCursor
- 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 atIndex(index: Int): NodeCursor
- def attr(key: String): AttrCursor
- def attrAt(index: Long): AttrCursor
- def attrHead: AttrCursor
- def attrLast: AttrCursor
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def deepDown(nodeName: String): NodeCursor
- def down(nodeName: String): NodeCursor
- def downPath(path: String): NodeCursor
- def downWildcard: NodeCursor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(obj: Any): Boolean
- Definition Classes
- NodeCursor → AnyRef → Any
- def filter(p: (XmlNode) => Boolean): NodeCursor
- def find(p: (XmlNode) => Boolean): NodeCursor
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def head: NodeCursor
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isRoot: Boolean
- def last: NodeCursor
- def modify(modifier: Endo[XmlNode]): Modifier[XmlNode]
- Definition Classes
- NodeCursor → WithModifierSupport
- def modifyGroup(modifier: Endo[XmlNode.Group]): Modifier[XmlNode]
- def modifyNode(modifier: Endo[Node]): Modifier[XmlNode]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noop: NodeCursor
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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
- NodeCursor → Cursor
- def selectDynamic(nodeName: String): NodeCursor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text: TextCursor
- final def toString(): String
- Definition Classes
- Cursor → AnyRef → Any
- final def up: NodeCursor
- Definition Classes
- VCursor
- 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])
- def |(p: (XmlNode) => Boolean): NodeCursor
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)