public final class IncidentParser extends JaxbParser
Incident.| Modifier and Type | Field and Description |
|---|---|
static IncidentParser |
I
Instance of IncidentParser
|
| Modifier and Type | Method and Description |
|---|---|
JaxbIncidentDigestList |
parseDigestFromXml(InputStream xml) |
JaxbIncident |
parseIncidentFromXml(InputStream xml) |
JaxbIncidentList |
parseIncidentsFromXml(InputStream xml) |
JaxbIncidentTree |
parseIncidentTreeFromXml(InputStream xml) |
String |
toXml(JaxbIncident incident) |
String |
toXml(JaxbIncidentTree tree) |
getCtx, marshal, unmarshalpublic static final IncidentParser I
public JaxbIncidentDigestList parseDigestFromXml(InputStream xml) throws IOException
IOExceptionpublic JaxbIncident parseIncidentFromXml(InputStream xml) throws IOException
IOExceptionpublic JaxbIncidentList parseIncidentsFromXml(InputStream xml) throws IOException
IOExceptionpublic JaxbIncidentTree parseIncidentTreeFromXml(InputStream xml) throws IOException
IOExceptionpublic String toXml(JaxbIncident incident) throws IOException
IOExceptionpublic String toXml(JaxbIncidentTree tree) throws IOException
IOExceptionCopyright © 2009–2020 Opencast Project. All rights reserved.