Trait

scales.xml.xpath

OtherNodeTypes

Related Doc: package xpath

Permalink

trait OtherNodeTypes extends Axis

Little depature from standard, rather than duplicate all of the \ and \\ nodes, just a simple \\*() comment() will do

NOTE these have a large performance hit as the must sort and filter the results in order to get doc order. Better to use specific nodes avoiding \\ etc, then use the s for simple functions, sutext etc for simple useful. Additionally using the non simple versions incurs the cost of adding adjacent text node processing as per standard datamodel (all adjacent text nodes are joined and any resulting nodes that are "the zero-length string" are removed).

TODO xpath adjacent text node handling

Linear Supertypes
Axis, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OtherNodeTypes
  2. Axis
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type T <: Iterable[xml.XmlPath]

    Permalink
    Definition Classes
    Axis

Abstract Value Members

  1. abstract val cbf: CanBuildFrom[T, xml.XmlPath, T]

    Permalink
    Definition Classes
    Axis
  2. abstract def empty: Iterable[xml.XmlPath]

    Permalink
    Definition Classes
    Axis
  3. abstract def just(only: xml.XmlPath): Iterable[xml.XmlPath]

    Permalink
    Definition Classes
    Axis
  4. abstract def newThis(xpathInfo: XPathInfo): XPath[T]

    Permalink
    Definition Classes
    Axis
  5. abstract val path: XPathInfo

    Permalink
    Definition Classes
    Axis

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def ===(textValue: ⇒ String): XPath[T]

    Permalink

    simple test for string equality

    simple test for string equality

    Definition Classes
    Axis
  5. def \: XPath[T]

    Permalink

    simply forwards the current context, element\item specific versions exist that step downwards in document order

    simply forwards the current context, element\item specific versions exist that step downwards in document order

    Definition Classes
    Axis
  6. def \+: XPath[T]

    Permalink

    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.

    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.

    Definition Classes
    Axis
  7. def \\: XPath[T]

    Permalink

    All descendants, uses XPathInfo eager to choose an implementation

    All descendants, uses XPathInfo eager to choose an implementation

    Definition Classes
    Axis
  8. def \^: XPath[T]

    Permalink

    Parents of these paths

    Parents of these paths

    Definition Classes
    Axis
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def cdata: XPath[T]

    Permalink

    all cdata child elements

  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def comment: XPath[T]

    Permalink

    all commnent child elements

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def filter(pred: (xml.XmlPath) ⇒ Boolean): XPath[T]

    Permalink

    filter through the current matches

    filter through the current matches

    Definition Classes
    Axis
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def last_<(n: ⇒ Int): XPath[T]

    Permalink

    Equivalent to [last() < n]

    Equivalent to [last() < n]

    Definition Classes
    Axis
  21. def last_==(n: ⇒ Int): XPath[T]

    Permalink

    Equivalent to [last() = n]

    Equivalent to [last() = n]

    Definition Classes
    Axis
  22. def last_>(n: ⇒ Int): XPath[T]

    Permalink

    Equivalent to [last() > n]

    Equivalent to [last() > n]

    Definition Classes
    Axis
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def pi: XPath[T]

    Permalink

    all pi child elements

  27. def pos(pos: ⇒ Int): XPath[T]

    Permalink

    1 index based, per spec, but unsure if it should be

    1 index based, per spec, but unsure if it should be

    Definition Classes
    Axis
  28. def pos_<(pos: ⇒ Int): XPath[T]

    Permalink

    Equivalent to [position() < pos]

    Equivalent to [position() < pos]

    Definition Classes
    Axis
  29. def pos_==(p: ⇒ Int): XPath[T]

    Permalink
    Definition Classes
    Axis
  30. def pos_>(pos: ⇒ Int): XPath[T]

    Permalink

    Equivalent to [position() > pos]

    Equivalent to [position() > pos]

    Definition Classes
    Axis
  31. def pos_eq_last: XPath[T]

    Permalink

    Equivalent to position() = last()

    Equivalent to position() = last()

    Definition Classes
    Axis
  32. def process(newNodes: Iterable[Iterable[xml.XmlPath]], info: XPathInfo = path): XPath[T]

    Permalink
    Definition Classes
    Axis
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def text: XPath[T]

    Permalink

    all text child elements - xpath standard way, including cdata nodes, filtered to join adjacent text nodes

  35. def textOnly: XPath[T]

    Permalink

    all text child elements - not including cdata nodes, neither sorted nor dup filtered

  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def xfilter(f: (Iterable[xml.XmlPath]) ⇒ Boolean): XPath[T]

    Permalink
    Definition Classes
    Axis
  41. final def xflatMap(f: (Iterable[xml.XmlPath]) ⇒ Iterable[Iterable[xml.XmlPath]]): XPath[T]

    Permalink

    x prefixed to avoid disturbing the use of an xpath as an iterable

    x prefixed to avoid disturbing the use of an xpath as an iterable

    Definition Classes
    Axis
  42. final def xlast(onN: (Int) ⇒ Boolean): XPath[T]

    Permalink
    Attributes
    protected
    Definition Classes
    Axis
  43. final def xmap(f: (Iterable[xml.XmlPath]) ⇒ Iterable[xml.XmlPath]): XPath[T]

    Permalink
    Definition Classes
    Axis

Inherited from Axis

Inherited from AnyRef

Inherited from Any

Ungrouped