Packages

t

scala.xml.factory

LoggedNodeFactory

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

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoggedNodeFactory
  2. NodeFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Concrete Value Members

  1. final val CACHE: Int(1)
  2. final val FULL: Int(2)
  3. final val NONE: Int(0)
  4. val cache: HashMap[Int, List[A]]
    Definition Classes
    NodeFactory
  5. def eqElements(ch1: Seq[Node], ch2: Seq[Node]): Boolean
    Definition Classes
    NodeFactory
  6. val ignoreComments: Boolean
    Definition Classes
    NodeFactory
  7. val ignoreProcInstr: Boolean
    Definition Classes
    NodeFactory
  8. def log(msg: String): Unit
  9. val logComment: Boolean
  10. val logCompressLevel: Int

    0 = no logging, 1 = cache hits, 2 = detail

  11. val logNode: Boolean
  12. val logProcInstr: Boolean
  13. val logText: Boolean
  14. def makeComment(s: String): Seq[Comment]
    Definition Classes
    LoggedNodeFactoryNodeFactory
  15. def makeNode(pre: String, label: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): A

    logged version of makeNode method

    logged version of makeNode method

    Definition Classes
    LoggedNodeFactoryNodeFactory
  16. def makeProcInstr(t: String, s: String): Seq[ProcInstr]
    Definition Classes
    LoggedNodeFactoryNodeFactory
  17. def makeText(s: String): Text
    Definition Classes
    LoggedNodeFactoryNodeFactory
  18. def nodeEquals(n: Node, pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Boolean
    Definition Classes
    NodeFactory