in scala/xml/factory
class LoggedNodeFactory

abstract class LoggedNodeFactory[A<:Node]()
extends NodeFactory[A]
with ScalaObject
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 with 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); }

Field Summary
final val CACHE: Int
final val FULL: Int
final val NONE: Int
  val logComment: Boolean
  val logCompressLevel: Int
     0 = no loggging, 1 = cache hits, 2 = detail
  val logNode: Boolean
  val logProcInstr: Boolean
  val logText: Boolean

Method Summary
override def makeComment(s: String): Seq[Comment]
override def makeNode(pre: String, label: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): A
     logged version of makeNode method
override def makeProcInstr(t: String, s: String): Seq[ProcInstr]
override def makeText(s: String): Text

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, toString, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/ScalaObject-class
getScalaType

Methods inherited from scala/util/logging/Logged-class
log

Methods inherited from scala/xml/factory/NodeFactory-class
cache, construct, create, eqElements, ignoreComments, ignoreProcInstr, nodeEquals

Field Detail

logNode

  val logNode: Boolean

logText

  val logText: Boolean

logComment

  val logComment: Boolean

logProcInstr

  val logProcInstr: Boolean

NONE

  final val NONE: Int

CACHE

  final val CACHE: Int

FULL

  final val FULL: Int

logCompressLevel

  val logCompressLevel: Int
0 = no loggging, 1 = cache hits, 2 = detail
Method Detail

makeNode

  override def makeNode(pre: String, label: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): A
logged version of makeNode method

makeText

  override def makeText(s: String): Text

makeComment

  override def makeComment(s: String): Seq[Comment]

makeProcInstr

  override def makeProcInstr(t: String, s: String): Seq[ProcInstr]