scales.xml.xpath

OtherNodeTypes

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    Definition Classes
    Axis

Abstract Value Members

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

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

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

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

    Definition Classes
    Axis
  5. abstract val path: XPathInfo

    Definition Classes
    Axis

Concrete Value Members

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

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

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

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

    simple test for string equality

    simple test for string equality

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

    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]

    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]

    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]

    Parents of these paths

    Parents of these paths

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

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

    all cdata child elements

  11. def clone(): AnyRef

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

    all commnent child elements

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

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

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

    filter through the current matches

    filter through the current matches

    Definition Classes
    Axis
  16. def finalize(): Unit

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

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

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

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

    Equivalent to [last() < n]

    Equivalent to [last() < n]

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

    Equivalent to [last() = n]

    Equivalent to [last() = n]

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

    Equivalent to [last() > n]

    Equivalent to [last() > n]

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

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

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

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

    all pi child elements

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

    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]

    Equivalent to [position() < pos]

    Equivalent to [position() < pos]

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

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

    Equivalent to [position() > pos]

    Equivalent to [position() > pos]

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

    Equivalent to position() = last()

    Equivalent to position() = last()

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

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

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

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

  35. def textOnly: XPath[T]

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

  36. def toString(): String

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

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

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

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

    Definition Classes
    Axis
  41. 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

    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]

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

    Definition Classes
    Axis

Inherited from Axis

Inherited from AnyRef

Inherited from Any

Ungrouped