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

Source
Axe.scala
Linear Supertypes
Axis, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

    simple test for string equality

    simple test for string equality

    Definition Classes
    Axis
  7. 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
  8. 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
  9. def \\: XPath[T]

    All descendants, uses XPathInfo eager to choose an implementation

    All descendants, uses XPathInfo eager to choose an implementation

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

    Parents of these paths

    Parents of these paths

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

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

    all cdata child elements

  13. def clone(): AnyRef

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

    all commnent child elements

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

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

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

    filter through the current matches

    filter through the current matches

    Definition Classes
    Axis
  18. def finalize(): Unit

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

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

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

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

    Equivalent to [last() < n]

    Equivalent to [last() < n]

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

    Equivalent to [last() = n]

    Equivalent to [last() = n]

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

    Equivalent to [last() > n]

    Equivalent to [last() > n]

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

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

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

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

    all pi child elements

  29. 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
  30. def pos_<(pos: ⇒ Int): XPath[T]

    Equivalent to [position() < pos]

    Equivalent to [position() < pos]

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

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

    Equivalent to [position() > pos]

    Equivalent to [position() > pos]

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

    Equivalent to position() = last()

    Equivalent to position() = last()

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

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

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

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

  37. def textOnly: XPath[T]

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

  38. def toString(): String

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

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

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

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

    Definition Classes
    Axis
  43. 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
  44. final def xlast(onN: (Int) ⇒ Boolean): XPath[T]

    Attributes
    protected
    Definition Classes
    Axis
  45. 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