public void addValue ( String value ) { contents . add ( value ) ; if ( value . trim ( ) . length ( ) > 0 ) { if ( contents . size ( ) == 1 ) { containsSingleString = true ; } else { containsSingleString = false ; containsMarkupText = true ; } } }
Appends a piece of text to the contents of this node