object XmlParsing
- Source
- XmlParsing.scala
- Alphabetic
- By Inheritance
- XmlParsing
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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 parserWithContext[Ctx](ignoreInvalidChars: Boolean = false, configureFactory: (AsyncXMLInputFactory) => Unit = configureDefault): FlowWithContext[ByteString, Ctx, ParseEvent, Ctx, NotUsed]
Parser Flow that takes a stream of ByteStrings and parses them to XML events similar to SAX while keeping a context attached.
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()