public class AlternativeValuesParser<VALUE_TYPE> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ALTERNATIVE_ID |
static String |
ALTERNATIVE_VALUE |
| Constructor and Description |
|---|
AlternativeValuesParser() |
| Modifier and Type | Method and Description |
|---|---|
Alternative |
fromXML(XMCDA xmcda,
AlternativesValues<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(Alternative alternative,
LabelledQValues<VALUE_TYPE> alternativeValues,
XMLStreamWriter writer) |
public static final String ALTERNATIVE_VALUE
public static final String ALTERNATIVE_ID
public Alternative fromXML(XMCDA xmcda, AlternativesValues<VALUE_TYPE> objectsValues, StartElement startElement, XMLEventReader eventReader) throws XMLStreamException
objectsValues - startElement - eventReader - XMLStreamExceptionpublic void toXML(Alternative alternative, LabelledQValues<VALUE_TYPE> alternativeValues, XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionCopyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.