public void setValue ( String value ) { contents = new ArrayList ( ) ; contents . add ( value ) ; if ( value . trim ( ) . length ( ) > 0 ) { containsSingleString = true ; } }
Replaces the contents of this node with a single text