public class DescriptionParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHOR |
static String |
BIB_ENTRY |
static String |
BIBLIOGRAPHY |
static String |
COMMENT |
static String |
CREATION_DATE |
static String |
DESCRIPTION |
static String |
KEYWORD |
static String |
LAST_MODIFICATION_DATE |
| Constructor and Description |
|---|
DescriptionParser() |
| Modifier and Type | Method and Description |
|---|---|
Description |
fromXML(XMCDA xmcda,
StartElement startElement,
XMLEventReader eventReader) |
BibliographyEntry |
handleBibliography(XMCDA xmcda,
StartElement startElement,
XMLEventReader eventReader) |
void |
toXML(BibliographyEntry bibliography,
XMLStreamWriter writer) |
void |
toXML(Description description,
XMLStreamWriter writer) |
public static final String DESCRIPTION
public static final String AUTHOR
public static final String COMMENT
public static final String KEYWORD
public static final String BIBLIOGRAPHY
public static final String CREATION_DATE
public static final String LAST_MODIFICATION_DATE
public static final String BIB_ENTRY
public Description fromXML(XMCDA xmcda, StartElement startElement, XMLEventReader eventReader) throws XMLStreamException
XMLStreamExceptionpublic BibliographyEntry handleBibliography(XMCDA xmcda, StartElement startElement, XMLEventReader eventReader) throws XMLStreamException
XMLStreamExceptionpublic void toXML(Description description, XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionpublic void toXML(BibliographyEntry bibliography, XMLStreamWriter writer) throws XMLStreamException
XMLStreamExceptionCopyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.