analyseWriter/src/list/listeAttributsAnalyseWriter...

74 lines
3.0 KiB
Java

package list;
public class listeAttributsAnalyseWriter {
public listeAttributsAnalyseWriter() {
}
/**
*
* retourne true si c'est un attribut utilisé par analyseWriter.<br>
* @param attribut
* @return
*/
public static boolean isAttributAnalyseWriter(String attribut) {
if(attribut.equals("evaluer")) return true;
if(attribut.equals("addmenu")) return true;
if(attribut.equals("saut")) return true;
if(attribut.equals("titre")) return true;
if(attribut.equals("titre1")) return true;
if(attribut.equals("titre2")) return true;
if(attribut.equals("titre3")) return true;
if(attribut.equals("poids")) return true;
if(attribut.equals("analyseStyle")) return true;
if(attribut.equals("allContent")) return true;
if(attribut.equals("index")) return true;
if(attribut.equals("recherche_index")) return true;
if(attribut.equals("recherche_contenu_exact")) return true;
if(attribut.equals("evalNameNode")) return true;
if(attribut.equals("styletitre")) return true; //ancienne version, il faudra les supprimer au fur plus ajouter depuis la version v4.1.2
if(attribut.equals("evalNameCreator")) return true;
if(attribut.equals("evalNameInitialCreator")) return true;
if(attribut.equals("recherche_anchor-page-number")) return true;
if(attribut.equals("recherche_contenu_plus_proche_voisin")) return true;
if(attribut.equals("numero")) return true;
if(attribut.equals("numeroabsolue")) return true;
if(attribut.equals("EvaluerATraversAnalyseStyle")) return true;
if(attribut.equals("evalEntetePasActive")) return true;
if(attribut.equals("evalPiedPagePasActive")) return true;
if(attribut.equals("evalNameSequence")) return true;
if(attribut.equals("evalNamePage")) return true;
if(attribut.equals("evalTextUserDefined")) return true;
if(attribut.equals("evalNumeroAbsoluePage")) return true;
if(attribut.equals("evalNumeroPage")) return true;
//Les attribut placer dans le node fichier du fichier d'analyse
if(attribut.equals("analysis_filename")) return true;
if(attribut.equals("auteur")) return true;
if(attribut.equals("baremeABC")) return true;
if(attribut.equals("controleDateCreation")) return true;
if(attribut.equals("controle_Initial_Creator")) return true;
if(attribut.equals("creationDate")) return true;
if(attribut.equals("date")) return true;
if(attribut.equals("dateModification")) return true;
if(attribut.equals("dureeEdition")) return true;
if(attribut.equals("filename")) return true;
if(attribut.equals("hash")) return true;
if(attribut.equals("historiquePresent")) return true;
if(attribut.equals("link_help")) return true;
if(attribut.equals("link_sujet")) return true;
if(attribut.equals("metaSujet")) return true;
if(attribut.equals("notefrom")) return true;
if(attribut.equals("presenceMetaSujet")) return true;
if(attribut.equals("producteur")) return true;
if(attribut.equals("progression")) return true;
if(attribut.equals("version")) return true;
return false;
}
}