in scala.xml
class TextBuffer

class TextBuffer
extends java.lang.Object
with scala.ScalaObject
this classes 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

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