Scala 2

API Specification

This document is the API specification for Scala 2.

Class Summary
abstract class Binder

abstract class LoggedNodeFactory [A <: scala.xml.Node]

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 Summary
abstract trait NodeFactory [A <: scala.xml.Node]