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 consecutive CData and Characters events into a single Characters event or fails if the buffered string is larger than the maximum defined.

  2. val configureDefault: (AsyncXMLInputFactory) => Unit

    The default factory configuration is to enable secure processing.

  3. def parser(ignoreInvalidChars: Boolean = false, configureFactory: (AsyncXMLInputFactory) => Unit = configureDefault): Flow[ByteString, ParseEvent, NotUsed]

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

  4. val parser: Flow[ByteString, ParseEvent, NotUsed]

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

  5. def subslice(path: Seq[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.

  6. def subtree(path: Seq[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.