object XmlParsing
- Source
- XmlParsing.scala
- Alphabetic
- By Inheritance
- XmlParsing
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- 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.
- val configureDefault: (AsyncXMLInputFactory) => Unit
The default factory configuration is to enable secure processing.
- 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.
- val parser: Flow[ByteString, ParseEvent, NotUsed]
Parser Flow that takes a stream of ByteStrings and parses them to XML events similar to SAX.
- 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.
- 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.