public class CriterionValuesParser<VALUE_TYPE> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CRITERION_ID |
static String |
CRITERION_VALUE |
| Constructor and Description |
|---|
CriterionValuesParser() |
| Modifier and Type | Method and Description |
|---|---|
Criterion |
fromXML(XMCDA xmcda,
CriteriaValues<VALUE_TYPE> objectsValues,
StartElement startElement,
XMLEventReader eventReader)
Builds the list of values attached to an ELEMENT and inserts it into the provided objectsValues object
using the ELEMENT as the key.
|
void |
toXML(Criterion criterion,
LabelledQValues<VALUE_TYPE> criterionValues,
XMLStreamWriter writer) |
public static final String CRITERION_VALUE
public static final String CRITERION_ID
public Criterion fromXML(XMCDA xmcda, CriteriaValues<VALUE_TYPE> objectsValues, StartElement startElement, XMLEventReader eventReader) throws XMLStreamException
objectsValues - startElement - eventReader - XMLStreamExceptionpublic void toXML(Criterion criterion, LabelledQValues<VALUE_TYPE> criterionValues, XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionCopyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.