eu.cdevreeze.yaidom

Text

final case class Text(text: String, isCData: Boolean) extends Node with Product with Serializable

Annotations
@SerialVersionUID( 1L )
Linear Supertypes
Product, Equals, Node, Serializable, Serializable, Immutable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Text
  2. Product
  3. Equals
  4. Node
  5. Serializable
  6. Serializable
  7. Immutable
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Text(text: String, isCData: Boolean)

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def canEqual(arg0: Any): Boolean

    Definition Classes
    Text → Equals
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    Text → Equals → AnyRef → Any
  11. def finalize(): Unit

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

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

    Definition Classes
    Text → AnyRef → Any
  14. val isCData: Boolean

  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def normalizedText: String

    Returns XmlStringUtils.normalizeString(text) .

  18. final def notify(): Unit

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

    Definition Classes
    AnyRef
  20. def productArity: Int

    Definition Classes
    Text → Product
  21. def productElement(arg0: Int): Any

    Definition Classes
    Text → Product
  22. def productIterator: Iterator[Any]

    Definition Classes
    Product
  23. def productPrefix: String

    Definition Classes
    Text → Product
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. val text: String

  26. final def toString(): String

    Returns the tree representation string corresponding to this element, that is, toTreeRepr.

    Returns the tree representation string corresponding to this element, that is, toTreeRepr. Possibly expensive!

    Definition Classes
    Node → AnyRef → Any
  27. final def toTreeRepr: String

    Same as toTreeRepr(emptyScope)

    Same as toTreeRepr(emptyScope)

    Definition Classes
    Node
  28. final def toTreeRepr(parentScope: Scope): String

    Returns the tree representation String, conforming to the tree representation DSL that creates NodeBuilders.

    Returns the tree representation String, conforming to the tree representation DSL that creates NodeBuilders. That is, it does not correspond to the tree representation DSL of Nodes, but of NodeBuilders!

    There are a couple of advantages of this method compared to some "toXmlString" method which returns the XML string:

    • The parsed XML tree is made explicit, which makes debugging far easier, especially since method toString delegates to this method
    • The output of method toTreeRepr clearly corresponds to a NodeBuilder, and can indeed be parsed into one
    • That toTreeRepr output is even valid Scala code
    • When parsing the string into a NodeBuilder, the following is out of scope: character escaping (for XML), entity resolving, "ignorable" whitespace handling, etc.
    Definition Classes
    Node
  29. def trimmedText: String

    Returns text.trim.

  30. val uid: UID

    Returns a unique ID of the node.

    Returns a unique ID of the node. It can be used to associate metadata such as ElemPaths with elements, for example. The UIDs would then be the Map keys, and the metadata the mapped values.

    Be careful: if a node is "functionally updated", effectively creating a new node, the old UID still only refers to the old node before the "update".

    Definition Classes
    TextNode
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Product

Inherited from Equals

Inherited from Node

Inherited from Serializable

Inherited from Serializable

Inherited from Immutable

Inherited from AnyRef

Inherited from Any