scala.xml.factory

LoggedNodeFactory

trait 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 App {
val x = new scala.xml.parsing.NoBindingFactoryAdapter
      with scala.xml.factory.LoggedNodeFactory[scala.xml.Elem]
      with scala.util.logging.ConsoleLogger

Console.println("Start")
val doc = x.load(new java.net.URL("http://example.com/file.xml"))
Console.println("End")
Console.println(doc)
}
Source
LoggedNodeFactory.scala
Version

1.0

Linear Supertypes
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LoggedNodeFactory
  2. Logged
  3. NodeFactory
  4. AnyRef
  5. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Attributes
    protected
    Definition Classes
    NodeFactory

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from LoggedNodeFactory[A] to StringAdd[LoggedNodeFactory[A]] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (LoggedNodeFactory[A], B)

    Implicit information
    This member is added by an implicit conversion from LoggedNodeFactory[A] to ArrowAssoc[LoggedNodeFactory[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final val CACHE: Int(1)

  9. final val FULL: Int(2)

  10. final val NONE: Int(0)

  11. final def asInstanceOf[T0]: T0

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

    Definition Classes
    NodeFactory
  13. def clone(): AnyRef

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

    Attributes
    protected
    Definition Classes
    NodeFactory
  15. def ensuring(cond: (LoggedNodeFactory[A]) ⇒ Boolean, msg: ⇒ Any): LoggedNodeFactory[A]

    Implicit information
    This member is added by an implicit conversion from LoggedNodeFactory[A] to Ensuring[LoggedNodeFactory[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (LoggedNodeFactory[A]) ⇒ Boolean): LoggedNodeFactory[A]

    Implicit information
    This member is added by an implicit conversion from LoggedNodeFactory[A] to Ensuring[LoggedNodeFactory[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): LoggedNodeFactory[A]

    Implicit information
    This member is added by an implicit conversion from LoggedNodeFactory[A] to Ensuring[LoggedNodeFactory[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): LoggedNodeFactory[A]

    Implicit information
    This member is added by an implicit conversion from LoggedNodeFactory[A] to Ensuring[LoggedNodeFactory[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from LoggedNodeFactory[A] to StringFormat[LoggedNodeFactory[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  26. val ignoreComments: Boolean

    Definition Classes
    NodeFactory
  27. val ignoreProcInstr: Boolean

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

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

    This method should log the message given as argument somewhere as a side-effect.

    This method should log the message given as argument somewhere as a side-effect.

    msg

    message to be logged

    Definition Classes
    Logged
  30. val logComment: Boolean

  31. val logCompressLevel: Int

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

  32. val logNode: Boolean

  33. val logProcInstr: Boolean

  34. val logText: Boolean

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

    Definition Classes
    LoggedNodeFactoryNodeFactory
  36. 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
  37. def makeProcInstr(t: String, s: String): Seq[ProcInstr]

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

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

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

    Definition Classes
    NodeFactory
  41. final def notify(): Unit

    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  44. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  48. def [B](y: B): (LoggedNodeFactory[A], B)

    Implicit information
    This member is added by an implicit conversion from LoggedNodeFactory[A] to ArrowAssoc[LoggedNodeFactory[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Logged

Inherited from NodeFactory[A]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from LoggedNodeFactory[A] to StringAdd[LoggedNodeFactory[A]]

Inherited by implicit conversion StringFormat from LoggedNodeFactory[A] to StringFormat[LoggedNodeFactory[A]]

Inherited by implicit conversion Ensuring from LoggedNodeFactory[A] to Ensuring[LoggedNodeFactory[A]]

Inherited by implicit conversion ArrowAssoc from LoggedNodeFactory[A] to ArrowAssoc[LoggedNodeFactory[A]]

Ungrouped