in scala/xml
class Atom

class Atom[+A](data: A)
extends SpecialNode
with ScalaObject
Implementing classes or objects:
class Text(_data: String)

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: A

Method Summary
override def equals(x: Any): Boolean
     structural equality
override def hashCode(): Int
     hashcode for this Text
  def label: String
     the constant "#PCDATA"
override def text: String
  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/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/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: A
Method Detail

label

  def label: String
the constant "#PCDATA"

equals

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

hashCode

  override def hashCode(): Int
hashcode for this Text

toString

  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)"

text

  override def text: String