public void normalizeDefault ( ) { String val = mDefValue . getValue ( ) ; if ( val . length ( ) > 0 ) { char [ ] cbuf = val . toCharArray ( ) ; String str = StringUtil . normalizeSpaces ( cbuf , 0 , cbuf . length ) ; if ( str != null ) { mDefValue . setValue ( str ) ; } } }
Method called to do initial normalization of the default attribute value without trying to verify its validity . Thus it s called independent of whether we are fully validating the document .