private void writeDirectoryPostResource(Element postResourceEl,String path){
  postResourceEl.setAttribute("className",DIR_RESOURCE_SET);
  postResourceEl.setAttribute("base",path.replace("&","&amp;"));
}

private void writeDirectoryPostResource ( Element postResourceEl , String path ) { postResourceEl . setAttribute ( "className" , DIR_RESOURCE_SET ) ; postResourceEl . setAttribute ( "base" , path . replace ( "&" , "&amp;" ) ) ; }
write directory post resource
