in scala/xml
class Text

case class Text(_data: String)
extends Atom[String]
with ScalaObject
with CaseClass

an XML node for text (PCDATA). Used in both non-bound and bound XML representations
Author:
Burak Emir
Parameters:
text - the text contained in this node, may not be null.

Field Summary
  val _data: String

Method Summary
final override def equals(x: Any): Boolean
     structural equality
override def toString(sb: StringBuffer): StringBuffer
     returns text, with some characters escaped according to XML spec
final override def toString(): String
     Same as toString(false).

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

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

Methods inherited from scala/CaseClass-class
caseArity, caseElement, caseName

Methods inherited from scala/Iterable-class
/:, :\, concat, exists, find, foldLeft, foldRight, forall, foreach, sameElements

Methods inherited from scala/ScalaObject-class
getScalaType

Methods inherited from scala/Seq-class
concat, copyToArray, drop, indexOf, isDefinedAt, lastIndexOf, stringPrefix, subseq, take, toList

Methods inherited from scala/xml/Atom-class
data, hashCode, label, text

Methods inherited from scala/xml/Node-class
attribute, attribute, descendant, descendant_or_self, getNamespace, nameToString, prefix, scope, theSeq, xmlType

Methods inherited from scala/xml/NodeSeq-class
\, \\, apply, apply, asList, elements, filter, flatMap, length, map

Methods inherited from scala/xml/SpecialNode-class
attributes, child, namespace, toString

Field Detail

_data

  val _data: String
Method Detail

equals

  final override def equals(x: Any): Boolean
structural equality

toString

  override def toString(sb: StringBuffer): StringBuffer
returns text, with some characters escaped according to XML spec

toString

  final override def toString(): String
Same as toString(false).
See Also:
"toString(Boolean)"