in scala.xml
class TextBuffer

class TextBuffer
extends java.lang.Object
with scala.ScalaObject
The class TextBuffer is for creating text nodes without surplus whitespace. All occurrences of one or more whitespace in strings appended with the append method will be replaced by a single space character, and leading and trailing space will be removed completely.

Constructor Summary
def this

Val Summary
val sb : scala.compat.StringBuilder

Var Summary
var ws : scala.Boolean

Def Summary
def append (cs: scala.Seq[scala.Char]) : scala.xml.TextBuffer
Appends this string to the text buffer, trimming whitespaces as needed.
def appendChar (c: scala.Char) : scala.compat.StringBuilder

def appendSpace : scala.Any

def toText : scala.Seq[scala.xml.Text]
Returns an empty sequence if text is only whitespace.
Constructor Detail
def this

Val Detail
val sb : scala.compat.StringBuilder

Var Detail
var ws : scala.Boolean

Def Detail
def append (cs: scala.Seq[scala.Char]): scala.xml.TextBuffer
Appends this string to the text buffer, trimming whitespaces as needed.
Parameters:
cs - ...
Returns:
...

def appendChar (c: scala.Char): scala.compat.StringBuilder

def appendSpace : scala.Any

def toText : scala.Seq[scala.xml.Text]
Returns an empty sequence if text is only whitespace.
Returns:
the text without whitespaces.