public class CriterionFunctionsParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CRITERION_FUNCTION |
static String |
CRITERION_ID |
| Constructor and Description |
|---|
CriterionFunctionsParser() |
| Modifier and Type | Method and Description |
|---|---|
Criterion |
fromXML(XMCDA xmcda,
CriteriaFunctions criteriaFunctions,
StartElement startElement,
XMLEventReader eventReader)
Builds the list of functions attached to a criterion and inserts it into the provided criteriaFunctions object
using the criterion as the key.
|
void |
toXML(String criterionID,
CriterionFunctions criterionFunctions,
XMLStreamWriter writer) |
public static final String CRITERION_FUNCTION
public static final String CRITERION_ID
public Criterion fromXML(XMCDA xmcda, CriteriaFunctions criteriaFunctions, StartElement startElement, XMLEventReader eventReader) throws XMLStreamException
criteriaFunctions - startElement - eventReader - XMLStreamExceptionpublic void toXML(String criterionID, CriterionFunctions criterionFunctions, XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionCopyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.