Package

scala.xml

factory

Permalink

package factory

Visibility
  1. Public
  2. All

Type Members

  1. abstract class Binder extends ValidatingMarkupHandler

    Permalink

  2. trait NodeFactory[A <: Node] extends AnyRef

    Permalink
  3. trait XMLLoader[T <: Node] extends AnyRef

    Permalink

    Presents collection of XML loading methods which use the parser created by "def parser".

  4. trait LoggedNodeFactory[A <: Node] extends NodeFactory[A]

    Permalink

    This class logs what the nodefactory is actually doing.

    This class logs what the nodefactory is actually doing. If you want to see what happens during loading, use it like this:

    object testLogged extends App {
    val x = new scala.xml.parsing.NoBindingFactoryAdapter
    with scala.xml.factory.LoggedNodeFactory[scala.xml.Elem] {
    override def log(s: String) = println(s)
    }
    
    Console.println("Start")
    val doc = x.load(new java.net.URL("http://example.com/file.xml"))
    Console.println("End")
    Console.println(doc)
    }
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11) This trait will be removed.

    Version

    1.0

Ungrouped