scales.xml.parser.pull

PullIteratees

trait PullIteratees extends AnyRef

Iteratees related to pull parsing

Source
PullIteratees.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PullIteratees
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type PeekMatch = Option[xml.XmlPath]

  2. type QNamesMatch = (List[QName], Option[xml.XmlPath])

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 asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  14. def iterate(path: List[QName], xml: Iterator[xml.PullType]): FlatMapIterator[xml.XmlPath]

    Provides an optimised version of withIter(onDone(List(onQNames(path))))(enumXml(xml, _)) with default QName equality it unwraps the data providing an Iterator[XPath]

  15. def iterate(path: List[QName], xml: XmlPull): FlatMapIterator[xml.XmlPath]

    Wraps XmlPull using default QName equality

  16. def iterateI(path: List[QName], xml: Iterator[xml.PullType])(implicit qe: Equal[QName]): FlatMapIterator[xml.XmlPath]

    Provides an optimised version of withIter(onDone(List(onQNames(path))))(enumXml(xml, _)) with an implicit parameter for QName equality it unwraps the data providing an Iterator[XPath]

  17. def iterateI(path: List[QName], xml: XmlPull)(implicit qe: Equal[QName]): FlatMapIterator[xml.XmlPath]

    Wraps XmlPull with an implicit parameter for QName equality

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def onQNames(qnames: List[QName]): utils.ResumableIter[xml.PullType, (List[QName], Option[xml.XmlPath])]

    Collects all data belonging to an element that matches the list.

    Collects all data belonging to an element that matches the list. <top><middle><ofInterest> content </ofInterest><ofInterest.... onQNames(List("top"l, "middle"l, "ofInterest"l)) would return an iteratee that returned every <ofInterest> content </ofInterest> as a path (each parent node containing only one child node).

    Uses the default QName equality

  22. def onQNamesI(qnames: List[QName])(implicit qe: Equal[QName]): utils.ResumableIter[xml.PullType, (List[QName], Option[xml.XmlPath])]

    Collects all data belonging to an element that matches the list.

    Collects all data belonging to an element that matches the list. <top><middle><ofInterest> content </ofInterest><ofInterest.... onQNames(List("top"l, "middle"l, "ofInterest"l)) would return an iteratee that returned every <ofInterest> content </ofInterest> as a path (each parent node containing only one child node).

    Uses an implicit QName equality

  23. def skip(downTo: ⇒ List[Int]): IterV[xml.PullType, PeekMatch]

    Skips all events until the indexes match downTo, can be seen as \*\*[b]\*[c] skipping until c with skip(List(b,c)).

    Skips all events until the indexes match downTo, can be seen as \*\*[b]\*[c] skipping until c with skip(List(b,c)). This can be used, for example, to identify qnames within a message and combined with capture to allow replaying. Identifying a soap doc-lit request would be skip(List(2,1)). It returns the XmlPath to the skipped position, for soap /Envelope/Body/Request but does not collect the contents of that node. An empty list will simply return the first Element found.

  24. def skipv(downTo: Int*): IterV[xml.PullType, PeekMatch]

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped