in scala/xml
class Text

case class Text(text: String)
extends SpecialNode
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

Field Summary
  val text: String

Method Summary
final override def equals(x: Any): Boolean
     structural equality
override def hashCode(): Int
     hashcode for this Text
  def label: String
     the constant "#PCDATA"
override def toString(): String
     returns text, with some characters escaped according to XML spec

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

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

Methods inherited from scala/CaseClass-class
caseArity, caseElement

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

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

Methods inherited from scala/xml/Node-class
attribute, descendant, descendant_or_self, theSeq

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

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

Field Detail

text

  val text: String
Method Detail

label

  def label: String
the constant "#PCDATA"

equals

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

hashCode

  override def hashCode(): Int
hashcode for this Text

toString

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