fr.ifremer.isisfish.mexico.xml
Class DomXMLParser
java.lang.Object
fr.ifremer.isisfish.mexico.xml.DomXMLParser
public class DomXMLParser
- extends Object
Parse xml using dom.
- Version:
- $Revision: 1.0 $
Last update : $Date: 13 mars 2009 $
By : $Author: chatellier $
- Author:
- chatellier
- See Also:
Element
|
Method Summary |
static DesignPlan |
parseDesignPlan(org.dom4j.Element rootElement,
org.nuiton.topia.TopiaContext topiaContext)
Parse element root node as Design plan. |
protected static FactorGroup |
parseFactorGroup(org.dom4j.Element fgElement,
org.nuiton.topia.TopiaContext topiaContext)
Deprecated. since 4.0.0.0, this parsing method parse experimentalDesign
in version "0" or "null" version, don't remove for
data reading purpose, but could be removed in a future version |
protected static FactorGroup |
parseFactorGroupV2(org.dom4j.Element fgElement,
org.nuiton.topia.TopiaContext topiaContext)
Recursive parse of factor group elements (>factors<). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISCRETE
public static final String DISCRETE
- See Also:
- Constant Field Values
ENUMERATION
public static final String ENUMERATION
- See Also:
- Constant Field Values
DOMAIN
public static final String DOMAIN
- See Also:
- Constant Field Values
FIXED
public static final String FIXED
- See Also:
- Constant Field Values
VALUE
public static final String VALUE
- See Also:
- Constant Field Values
RULE
public static final String RULE
- See Also:
- Constant Field Values
RULES
public static final String RULES
- See Also:
- Constant Field Values
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
NAME
public static final String NAME
- See Also:
- Constant Field Values
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
PROPERTY
public static final String PROPERTY
- See Also:
- Constant Field Values
TARGET
public static final String TARGET
- See Also:
- Constant Field Values
CONTINUOUS
public static final String CONTINUOUS
- See Also:
- Constant Field Values
MATRIXCONTINUOUS
public static final String MATRIXCONTINUOUS
- See Also:
- Constant Field Values
COEFFICIENT
public static final String COEFFICIENT
- See Also:
- Constant Field Values
EQUATIONCONTINUOUS
public static final String EQUATIONCONTINUOUS
- See Also:
- Constant Field Values
EQUATION
public static final String EQUATION
- See Also:
- Constant Field Values
VARIABLE
public static final String VARIABLE
- See Also:
- Constant Field Values
PERCENTAGE
public static final String PERCENTAGE
- See Also:
- Constant Field Values
REFERENCE
public static final String REFERENCE
- See Also:
- Constant Field Values
RANGE
public static final String RANGE
- See Also:
- Constant Field Values
MIN
public static final String MIN
- See Also:
- Constant Field Values
MAX
public static final String MAX
- See Also:
- Constant Field Values
CARDINALITY
public static final String CARDINALITY
- See Also:
- Constant Field Values
INTEGER
public static final String INTEGER
- See Also:
- Constant Field Values
MX
public static final String MX
- See Also:
- Constant Field Values
DomXMLParser
public DomXMLParser()
parseDesignPlan
public static DesignPlan parseDesignPlan(org.dom4j.Element rootElement,
org.nuiton.topia.TopiaContext topiaContext)
- Parse element root node as Design plan.
- Parameters:
rootElement - root dom elementtopiaContext - database context
- Returns:
- a
DesignPlan
parseFactorGroup
@Deprecated
protected static FactorGroup parseFactorGroup(org.dom4j.Element fgElement,
org.nuiton.topia.TopiaContext topiaContext)
- Deprecated. since 4.0.0.0, this parsing method parse experimentalDesign
in version "0" or "null" version, don't remove for
data reading purpose, but could be removed in a future version
- Recursive parse of factor group elements (>factors<).
- Parameters:
fgElement - factor group element (>factors<)topiaContext - context
- Returns:
- factor group
parseFactorGroupV2
protected static FactorGroup parseFactorGroupV2(org.dom4j.Element fgElement,
org.nuiton.topia.TopiaContext topiaContext)
- Recursive parse of factor group elements (>factors<).
This version handle xml file with min/max and percentage factor
in each continuous factors.
- Parameters:
fgElement - factor group element (>factors<)topiaContext - context
- Returns:
- factor group
Copyright © 1999-2012 CodeLutin. All Rights Reserved.