|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--BaliseNode
La classe Balise Node represente un debut ou une fin de tag Chaque Balise Node est lié au tag ouvrant ou fermant correspondant On utilise ces objets pour generer le Xml correspondant au document tagé
Constructor Summary | |
BaliseNode(Tag tag,
boolean debut)
le constructeur |
Method Summary | |
int |
getIndex()
renvoie le numero du caractere concerne par ce tag |
BaliseNode |
getSoeur()
renvoie le debut ou la fin du tag correspondant a ce baliseNode |
Tag |
getTag()
renvoie le tag interprete par l'objet BaliseNode |
boolean |
IsDebut()
permet de savoir si c'est le debut ou la fin du tag |
void |
SetSoeur(BaliseNode soeur)
met a jour l'attribut _soeur |
java.lang.String |
toString()
renvoie une chaine representant l'objet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BaliseNode(Tag tag, boolean debut)
tag
- le tag qui sera represente par les deux BaliseNodeMethod Detail |
public BaliseNode getSoeur()
public void SetSoeur(BaliseNode soeur)
la
- valeur de mise a jourpublic int getIndex()
public boolean IsDebut()
public Tag getTag()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |