ikbs.rco.xml
Class BaliseCase

java.lang.Object
  extended by org.jdom.Content
      extended by org.jdom.Element
          extended by ikbs.rco.xml.BaliseCase
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.jdom.Parent

public class BaliseCase
extends org.jdom.Element

Classe spÈcialisÈe reprÈsentant une balise "case" 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
BaliseCase(Case cas, ValSchema val)
          Constructeur utilisÈ pour la sauvegarde.
BaliseCase(org.jdom.Element e, ValSchema val)
          Constructeur utilisÈ pour le chargement.
 
Method Summary
 void createBalisesValue()
          Pour la sauvegarde - Parcourt tous les attributs du Case et instancie les BaliseValue correspondantes.
 BaliseValue getAttValue(java.lang.String id)
          Retourne la BaliseValue associÈ au DescriptiveElement d'identificateur id.
 java.util.Hashtable getAttValues()
          Retourne la table de hachage des BaliseValue.
 Case getCase()
          Retourne le Case associÈ ‡ la BaliseCase.
 ValSchema getValSchema()
          Retourne le ValSchema associÈ ‡ la BaliseCase.
 void process(org.jdom.Element e)
          Pour le chargement - Parcourt tous les Element en mettant ‡ jour l'arborescence hybride.
 void put(BaliseValue bv)
          Ajoute la BaliseValue bv ‡ la table de hachage.
 void setCase(Case cas)
          Initialise le Case associÈ ‡ la BaliseCase.
 void setValSchema(ValSchema val)
          Initialise le ValSchema associÈ ‡ la BaliseCase.
 
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

BaliseCase

public BaliseCase(org.jdom.Element e,
                  ValSchema val)
Constructeur utilisÈ pour le chargement.

Parameters:
e - - org.jdom.Element
val - - ikbs.rco.value.ValSchema
See Also:
BaliseCase(Case, ValSchema)

BaliseCase

public BaliseCase(Case cas,
                  ValSchema val)
Constructeur utilisÈ pour la sauvegarde.

Parameters:
cas - - ikbs.rco.value.Case
val - - ikbs.rco.value.ValSchema
See Also:
BaliseCase(Element, ValSchema)
Method Detail

createBalisesValue

public void createBalisesValue()
Pour la sauvegarde - Parcourt tous les attributs du Case et instancie les BaliseValue correspondantes.


setValSchema

public void setValSchema(ValSchema val)
Initialise le ValSchema associÈ ‡ la BaliseCase.

Parameters:
val - - ikbs.rco.value.ValSchema
See Also:
getValSchema()

getValSchema

public ValSchema getValSchema()
Retourne le ValSchema associÈ ‡ la BaliseCase.

Returns:
ikbs.rco.value.ValSchema
See Also:
setValSchema(ValSchema)

setCase

public void setCase(Case cas)
Initialise le Case associÈ ‡ la BaliseCase.

Parameters:
cas - - ikbs.rco.value.Case
See Also:
getCase()

getCase

public Case getCase()
Retourne le Case associÈ ‡ la BaliseCase.

Returns:
ikbs.rco.value.Case
See Also:
setCase(Case)

getAttValues

public java.util.Hashtable getAttValues()
Retourne la table de hachage des BaliseValue.

Returns:
java.util.Hashtable

put

public void put(BaliseValue bv)
Ajoute la BaliseValue bv ‡ la table de hachage.

Parameters:
bv - - BaliseValue

getAttValue

public BaliseValue getAttValue(java.lang.String id)
Retourne la BaliseValue associÈ au DescriptiveElement d'identificateur id.

Parameters:
id - - String
Returns:
ikbs.rco.xml.BaliseValue

process

public void process(org.jdom.Element e)
Pour le chargement - Parcourt tous les Element en mettant ‡ jour l'arborescence hybride.

Parameters:
e - - org.jdom.Element