protected UIComponent createVerbatimComponentFromBodyContent ( ) { UIOutput verbatimComp = null ; if ( bodyContent != null ) { String strContent = bodyContent . getString ( ) ; if ( strContent != null ) { String trimmedContent = strContent . trim ( ) ; if ( trimmedContent . length ( ) > 0 && ! isComment ( strContent ) ) { verbatimComp = createVerbatimComponent ( ) ; verbatimComp . setValue ( strContent ) ; } } bodyContent . clearBody ( ) ; } return verbatimComp ; }
Creates a UIComponent from the BodyContent