| Modifier and Type | Class and Description |
|---|---|
static class |
XmlUtil.MyEscaper |
| Constructor and Description |
|---|
XmlUtil() |
| Modifier and Type | Method and Description |
|---|---|
static XMLEventReader |
createXmlReader(Reader reader) |
static XMLStreamWriter |
createXmlStreamWriter(Writer theWriter) |
static XMLEventWriter |
createXmlWriter(Writer theWriter) |
static String |
encode(List<XMLEvent> theEvents)
Encode a set of StAX events into a String
|
static List<XMLEvent> |
parse(String theValue)
Parses an XML string into a set of StAX events
|
public XmlUtil()
public static XMLEventReader createXmlReader(Reader reader) throws FactoryConfigurationError, XMLStreamException
public static XMLStreamWriter createXmlStreamWriter(Writer theWriter) throws FactoryConfigurationError, XMLStreamException
public static XMLEventWriter createXmlWriter(Writer theWriter) throws FactoryConfigurationError, XMLStreamException
public static String encode(List<XMLEvent> theEvents)
Copyright © 2014–2019 University Health Network. All rights reserved.