public final class EventModelParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static ContentHandler |
getContentHandler(EventModel model)
Creates a new ContentHandler instance that you can send the event model XML to.
|
static EventModel |
parse(Source src)
Parses an event model file into an EventModel instance.
|
public static EventModel parse(Source src) throws TransformerException
src - the Source instance pointing to the XML fileTransformerException - if an error occurs while parsing the XML filepublic static ContentHandler getContentHandler(EventModel model)
model - the EventModelCopyright © 2020 Apache Software Foundation. All rights reserved.