Packages

object XmlParsing

Source
XmlParsing.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XmlParsing
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def coalesce(maximumTextLength: Int): Flow[ParseEvent, ParseEvent, NotUsed]

    A Flow that transforms a stream of XML ParseEvents.

    A Flow that transforms a stream of XML ParseEvents. This stage coalesces consequitive CData and Characters events into a single Characters event or fails if the buffered string is larger than the maximum defined.

  2. def parser(ignoreInvalidChars: Boolean, configureFactory: Consumer[AsyncXMLInputFactory]): Flow[ByteString, ParseEvent, NotUsed]

    Parser Flow that takes a stream of ByteStrings and parses them to XML events similar to SAX.

  3. def parser(configureFactory: Consumer[AsyncXMLInputFactory]): Flow[ByteString, ParseEvent, NotUsed]

    Parser Flow that takes a stream of ByteStrings and parses them to XML events similar to SAX.

  4. def parser(ignoreInvalidChars: Boolean): Flow[ByteString, ParseEvent, NotUsed]

    Parser Flow that takes a stream of ByteStrings and parses them to XML events similar to SAX.

  5. def parser(): Flow[ByteString, ParseEvent, NotUsed]

    Parser Flow that takes a stream of ByteStrings and parses them to XML events similar to SAX.

  6. def subslice(path: Collection[String]): Flow[ParseEvent, ParseEvent, NotUsed]

    A Flow that transforms a stream of XML ParseEvents.

    A Flow that transforms a stream of XML ParseEvents. This stage filters out any event not corresponding to a certain path in the XML document. Any event that is under the specified path (including subpaths) is passed through.

  7. def subtree(path: Collection[String]): Flow[ParseEvent, Element, NotUsed]

    A Flow that transforms a stream of XML ParseEvents.

    A Flow that transforms a stream of XML ParseEvents. This stage pushes elements of a certain path in the XML document as org.w3c.dom.Element.