private JoinableResourceBundleContent postProcessJoinedCompositeBundle ( CompositeResourceBundle composite , StringBuffer content , BundleProcessingStatus status ) { JoinableResourceBundleContent store = new JoinableResourceBundleContent ( ) ; StringBuffer processedContent = null ; status . setProcessingType ( BundleProcessingStatus . BUNDLE_PROCESSING_TYPE ) ; ResourceBundlePostProcessor bundlePostProcessor = composite . getBundlePostProcessor ( ) ; if ( null != bundlePostProcessor ) { processedContent = bundlePostProcessor . postProcessBundle ( status , content ) ; } else if ( null != this . compositePostProcessor ) { processedContent = this . compositePostProcessor . postProcessBundle ( status , content ) ; } else { processedContent = content ; } store . setContent ( processedContent ) ; return store ; }
Postprocess the composite bundle only if a composite bundle post processor is defined