trait Axis extends AnyRef
Base trait for XPath Axis, also provides common functionality
- Alphabetic
- By Inheritance
- Axis
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- abstract type T <: Iterable[xml.XmlPath]
Abstract Value Members
- abstract val cbf: CanBuildFrom[T, xml.XmlPath, T]
- abstract def empty: Iterable[xml.XmlPath]
- abstract def just(only: xml.XmlPath): Iterable[xml.XmlPath]
- abstract def newThis(xpathInfo: XPathInfo): XPath[T]
- abstract val path: XPathInfo
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
-
final
def
===(textValue: ⇒ String): XPath[T]
simple test for string equality
-
def
\: XPath[T]
simply forwards the current context, element\item specific versions exist that step downwards in document order
-
def
\+: XPath[T]
all children unpacked, normal xpath requires the context in E1/E2, which hugely complicates things, so \ is this, \+ is \ in the case where unpacking is needed which just leaves \* varieties for elements.
-
def
\\: XPath[T]
All descendants, uses XPathInfo eager to choose an implementation
-
def
\^: XPath[T]
Parents of these paths
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
filter(pred: (xml.XmlPath) ⇒ Boolean): XPath[T]
filter through the current matches
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
last_<(n: ⇒ Int): XPath[T]
Equivalent to [last() < n]
-
def
last_==(n: ⇒ Int): XPath[T]
Equivalent to [last() = n]
-
def
last_>(n: ⇒ Int): XPath[T]
Equivalent to [last() > n]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pos(pos: ⇒ Int): XPath[T]
1 index based, per spec, but unsure if it should be
-
def
pos_<(pos: ⇒ Int): XPath[T]
Equivalent to [position() < pos]
- def pos_==(p: ⇒ Int): XPath[T]
-
def
pos_>(pos: ⇒ Int): XPath[T]
Equivalent to [position() > pos]
-
def
pos_eq_last: XPath[T]
Equivalent to position() = last()
- def process(newNodes: Iterable[Iterable[xml.XmlPath]], info: XPathInfo = path): XPath[T]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- final def xfilter(f: (Iterable[xml.XmlPath]) ⇒ Boolean): XPath[T]
-
final
def
xflatMap(f: (Iterable[xml.XmlPath]) ⇒ Iterable[Iterable[xml.XmlPath]]): XPath[T]
x prefixed to avoid disturbing the use of an xpath as an iterable
-
final
def
xlast(onN: (Int) ⇒ Boolean): XPath[T]
- Attributes
- protected
- final def xmap(f: (Iterable[xml.XmlPath]) ⇒ Iterable[xml.XmlPath]): XPath[T]