ikbs.rco.xml
Class BaliseComponent

java.lang.Object
  extended by org.jdom.Content
      extended by org.jdom.Element
          extended by ikbs.rco.xml.Balise
              extended by ikbs.rco.xml.BaliseComponent
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Observer, org.jdom.Parent
Direct Known Subclasses:
BaliseSchema

public class BaliseComponent
extends Balise

Classe spécialisée reprÈsentant une balise "component" dans la reprÈsentation arborescente Hybride du fichier XML.

Author:
HOAREAU Christian-COURQUET Christophe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdom.Element
additionalNamespaces, name, namespace
 
Fields inherited from class org.jdom.Content
parent
 
Constructor Summary
BaliseComponent(DescriptiveElement de)
          Constructeur.
BaliseComponent(org.jdom.Element element)
          Constructeur.
 
Method Summary
 DescriptiveComponent getDC()
          Renvoie le ikbs.rco.element.DescriptiveComponent associÈe ‡ la balise component considÈrÈe.
 boolean getFictitious()
          Retourne l'attribut boolÈen fictititous
 java.lang.String getLibelle()
          Accesseur sur le Libelle.
 boolean getMultiple()
          Retourne l'attribut boolÈen multiple
 boolean getPossiblyAbsent()
          Retourne l'attribut boolÈen possiblyAbsent
 void initBalise(DescriptiveElement de)
          Initialise la balise attribute de l'arborescence hybride en fonction du DescriptiveElement passé en paramËtre.
 void initDE()
          MÈthode permettant d'initaliser le ikbs.rco.element.DescriptiveElement, c'est ‡ dire la reprÈsentation IKBS de notre objet BaliseComponent.
 void setFictitious(boolean b)
          Initialise l'attribut boolÈen fictitious
 void setMultiple(boolean b)
          Initialise l'attribut boolÈen multiple
 void setPossiblyAbsent(boolean b)
          Initialise l'attribut boolÈen PossiblyAbsent
 void update(java.util.Observable o, java.lang.Object args)
          MÈthode implÈmentÈe de l'interface java.util.Observer.
 void updateBalisesAttribute()
          Cette mÈthode met ‡ jour chacune des balises attribute de la balise component considÈrÈe
 
Methods inherited from class ikbs.rco.xml.Balise
createBalisesIllustration, getCommentaire, getDE, getDecision, getID, getPoids, getQuestion, getURL, loadIllustrations, loadRules, removeBaliseRuleAt, setCommentaire, setDE, setDecision, setID, setLibelle, setPoids, setQuestion, setURL
 
Methods inherited from class org.jdom.Element
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString
 
Methods inherited from class org.jdom.Content
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jdom.Parent
getDocument, getParent
 

Constructor Detail

BaliseComponent

public BaliseComponent(org.jdom.Element element)
Constructeur. Il crÈe une instance de BaliseComponent ‡ partir d'un objet org.jdom.Element.

See Also:
BaliseComponent

BaliseComponent

public BaliseComponent(DescriptiveElement de)
Constructeur. Il crÈe une instance de BaliseComponent ‡ partir d'un objet ikbs.rco.element.DescriptiveElement.

See Also:
BaliseComponent
Method Detail

initDE

public void initDE()
MÈthode permettant d'initaliser le ikbs.rco.element.DescriptiveElement, c'est ‡ dire la reprÈsentation IKBS de notre objet BaliseComponent.

Specified by:
initDE in class Balise
See Also:
BaliseComponent

getDC

public DescriptiveComponent getDC()
Renvoie le ikbs.rco.element.DescriptiveComponent associÈe ‡ la balise component considÈrÈe.

Returns:
ikbs.rco.element.DescriptiveComponent

setPossiblyAbsent

public void setPossiblyAbsent(boolean b)
Initialise l'attribut boolÈen PossiblyAbsent

Parameters:
b - un boolÈen
See Also:
getPossiblyAbsent()

setFictitious

public void setFictitious(boolean b)
Initialise l'attribut boolÈen fictitious

Parameters:
b - un boolÈen
See Also:
getFictitious()

setMultiple

public void setMultiple(boolean b)
Initialise l'attribut boolÈen multiple

Parameters:
b - un boolÈen
See Also:
getMultiple()

getPossiblyAbsent

public boolean getPossiblyAbsent()
Retourne l'attribut boolÈen possiblyAbsent

Returns:
boolean
Throws:
org.jdom.DataConversionException
See Also:
setPossiblyAbsent(boolean)

getFictitious

public boolean getFictitious()
Retourne l'attribut boolÈen fictititous

Returns:
boolean
Throws:
org.jdom.DataConversionException
See Also:
setFictitious(boolean)

getMultiple

public boolean getMultiple()
Retourne l'attribut boolÈen multiple

Returns:
boolean
Throws:
org.jdom.DataConversionException
See Also:
setMultiple(boolean)

update

public void update(java.util.Observable o,
                   java.lang.Object args)
MÈthode implÈmentÈe de l'interface java.util.Observer. Elle gËre les messages coorespondant ‡ son objet ikbs associÈ.

Parameters:
o -
args -

updateBalisesAttribute

public void updateBalisesAttribute()
Cette mÈthode met ‡ jour chacune des balises attribute de la balise component considÈrÈe


initBalise

public void initBalise(DescriptiveElement de)
Initialise la balise attribute de l'arborescence hybride en fonction du DescriptiveElement passé en paramËtre.

Specified by:
initBalise in class Balise
Parameters:
de - Le DescriptiveElement associÈ à la BaliseAttribute.

getLibelle

public java.lang.String getLibelle()
Accesseur sur le Libelle.

Specified by:
getLibelle in class Balise
Returns:
java.util.String
See Also:
Balise.setLibelle(String)