public final class XmlEventParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Modifier and Type | Method and Description |
|---|---|
static Document |
createDocFromMessage(InputStream message)
Creates a document from the input stream message and returns the result.
|
static Node |
getDescriptionNode(Document doc) |
static long |
getEventTime(Document doc) |
static long |
getEventTime(String dateTime) |
public static Document createDocFromMessage(InputStream message) throws SAXException, IOException, ParserConfigurationException
message - input stream messageSAXException - Throws SAX ExceptionIOException - Throws IO ExceptionParserConfigurationException - Throws ParserConfigurationExceptionpublic static long getEventTime(String dateTime) throws UnsupportedOperationException, IllegalArgumentException
public static long getEventTime(Document doc) throws UnsupportedOperationException, IllegalArgumentException