Scala 2.5.1-final

API Specification

This document is the API specification for Scala Library Documentation

Class Summary
abstract class Binder (val preserveWS : Boolean) extends ValidatingMarkupHandler
abstract class LoggedNodeFactory [A <: Node] extends NodeFactory[A] with Logged

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 Application {

    val x = new scala.xml.nobinding.NoBindingFactoryAdapter 
          with scala.xml.LoggedNodeFactory[scala.xml.Elem]()
          with scala.util.logging.ConsoleLogger;

    Console.println("Start");

    val doc = x.loadXML(new org.xml.sax.InputSource("http://lamp.epfl.ch/~buraq"));

    Console.println("End");

    Console.println(doc);
  }
trait NodeFactory [A <: Node] extends AnyRef