|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoutils.regles.Regle
outils.regles.RegleMot
outils.regles.RegleSymbole
public class RegleSymbole
Classe premettant de représenter une règle de type "symbole"; Les règles de symbole font correspondre une chaine de caractère un ou plusieurs signes braille. Les symboles peuvent être utilisé lorsqu'on les trouve dans des mots
Field Summary | |
---|---|
private boolean |
composable
indique si le symbole est composable |
private boolean |
invariant
indique si le symbole est invariant |
Fields inherited from class outils.regles.RegleMot |
---|
braille, noir |
Fields inherited from class outils.regles.Regle |
---|
actif, description, peda, reference |
Constructor Summary | |
---|---|
RegleSymbole(java.lang.String n,
java.lang.String b,
boolean inv,
boolean comp,
boolean a,
boolean p)
Constructeur |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object r)
Renvoie vrai si r est une RegleSymbole et que les attributs noir sont égaux |
java.lang.String |
getXML()
Renvoie un noeud xml sous forme de chaine représentant la règle |
boolean |
isComposable()
|
boolean |
isInvariant()
|
java.lang.String |
toString()
Redéfinition de Regle.toString() |
Methods inherited from class outils.regles.RegleMot |
---|
compareTo, getBraille, getNoir |
Methods inherited from class outils.regles.Regle |
---|
isActif, isPeda, setActif, setPeda |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private boolean invariant
private boolean composable
Constructor Detail |
---|
public RegleSymbole(java.lang.String n, java.lang.String b, boolean inv, boolean comp, boolean a, boolean p)
n
- le symbole fondamental en noirb
- la transcription en brailleinv
- vrai si le symbole est invariantcomp
- vrai si le symbole est composablea
- true si règle activep
- true si règle pédagogiqueMethod Detail |
---|
public boolean isInvariant()
invariant
public boolean isComposable()
composable
public java.lang.String toString()
Regle.toString()
toString
in class Regle
Regle.toString()
public boolean equals(java.lang.Object r)
equals
in class Regle
r
- instance d'Object à comparer
public java.lang.String getXML()
Regle
getXML
in class Regle
Regle.getXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |