|
Scala 2.4.0-RC1
|
class
TextBuffer
extends
java.lang.Object
with
scala.ScalaObject
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 |
Val Detail |
Var Detail |
Def Detail |
def
append
(cs: scala.Seq[scala.Char]): scala.xml.TextBuffer
cs -
...
def
appendChar
(c: scala.Char): scala.compat.StringBuilder
def
appendSpace
: scala.Any
def
toText
: scala.Seq[scala.xml.Text]