public static void processSolutionTree( final Element parentNode, final ISolutionFile targetFile,
final ISolutionFilter solutionFilter, final ISolutionAttributeContributor contributor,
final int actionOperation ) {
ISolutionFilter sFilter = solutionFilter == null ? DEFAULT_FILTER : solutionFilter;
if ( targetFile != null ) {
if ( sFilter.keepFile( targetFile, actionOperation ) ) {
if ( targetFile.isDirectory() ) {
Element childNode =
parentNode.addElement( SolutionReposHelper.BRANCH_NODE_NAME ).addAttribute(
SolutionReposHelper.ID_ATTR_NAME, targetFile.getFullPath() ).addAttribute(
SolutionReposHelper.IS_DIR_ATTR_NAME, "true" ); //$NON-NLS-1$