Package

com.scalawilliam.xs4s

elementbuilder

Permalink

package elementbuilder

Build 'Elem' out of 'XMLEvent'. See tests for examples.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. elementbuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class BuildingElement(element: Elem, ancestors: Elem*) extends XmlBuilder with Product with Serializable

    Permalink
  2. case class FinalElement(elem: Elem) extends XmlBuilder with Product with Serializable

    Permalink
  3. case class NonElement(mostRecent: XMLEvent, reverseList: XMLEvent*) extends XmlBuilder with Product with Serializable

    Permalink
  4. sealed trait XmlBuilder extends AnyRef

    Permalink

    XmlBuilder trait: Takes as input XMLEvent and produces XmlBuilder.

    XmlBuilder trait: Takes as input XMLEvent and produces XmlBuilder. There are two states that .process can lead to: BuildingElement(currentElement: Elem, ancestors: Elem*) FinalNode(elem: Elem)

    By passing in an event to BuildingElement you will get a new BuildingElement back We only expose FinalElement for you though. When you reach a FinalElement, Capture the output - this will be the fully formed tree. Then you can start the process all over again.

  5. implicit class eventReaderExtractors extends AnyRef

    Permalink
  6. implicit class extractors extends AnyRef

    Permalink

Value Members

  1. object NoElement extends XmlBuilder with Product with Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped