Trait

scala.xml.factory

LoggedNodeFactory

Related Doc: package factory

Permalink

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

Abstract Value Members

  1. abstract def create(pre: String, name: String, attrs: MetaData, scope: NamespaceBinding, children: Seq[Node]): A

    Permalink
    Attributes
    protected
    Definition Classes
    NodeFactory

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val CACHE: Int(1)

    Permalink
  5. final val FULL: Int(2)

    Permalink
  6. final val NONE: Int(0)

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val cache: HashMap[Int, List[A]]

    Permalink
    Definition Classes
    NodeFactory
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def construct(hash: Int, old: List[A], pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): A

    Permalink
    Attributes
    protected
    Definition Classes
    NodeFactory
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def eqElements(ch1: Seq[Node], ch2: Seq[Node]): Boolean

    Permalink
    Definition Classes
    NodeFactory
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. val ignoreComments: Boolean

    Permalink
    Definition Classes
    NodeFactory
  18. val ignoreProcInstr: Boolean

    Permalink
    Definition Classes
    NodeFactory
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def log(msg: String): Unit

    Permalink
  21. val logComment: Boolean

    Permalink
  22. val logCompressLevel: Int

    Permalink

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

  23. val logNode: Boolean

    Permalink
  24. val logProcInstr: Boolean

    Permalink
  25. val logText: Boolean

    Permalink
  26. def makeComment(s: String): Seq[Comment]

    Permalink
    Definition Classes
    LoggedNodeFactoryNodeFactory
  27. def makeNode(pre: String, label: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): A

    Permalink

    logged version of makeNode method

    logged version of makeNode method

    Definition Classes
    LoggedNodeFactoryNodeFactory
  28. def makeProcInstr(t: String, s: String): Seq[ProcInstr]

    Permalink
    Definition Classes
    LoggedNodeFactoryNodeFactory
  29. def makeText(s: String): Text

    Permalink
    Definition Classes
    LoggedNodeFactoryNodeFactory
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. def nodeEquals(n: Node, pre: String, name: String, attrSeq: MetaData, scope: NamespaceBinding, children: Seq[Node]): Boolean

    Permalink
    Definition Classes
    NodeFactory
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NodeFactory[A]

Inherited from AnyRef

Inherited from Any

Ungrouped