public class XmlResult
extends org.junit.rules.ExternalResource
| Modifier and Type | Method and Description |
|---|---|
Document |
asDocument() |
File |
asFile() |
String |
asString() |
static XmlResult |
empty() |
OutputStream |
getOutputStream() |
Writer |
getWriter() |
XMLEventWriter |
getXMLEventWriter(AutoFlushPolicy autoFlush) |
XMLStreamWriter |
getXMLStreamWriter(AutoFlushPolicy autoFlush) |
public static XmlResult empty()
public XMLStreamWriter getXMLStreamWriter(AutoFlushPolicy autoFlush)
public XMLEventWriter getXMLEventWriter(AutoFlushPolicy autoFlush)
public OutputStream getOutputStream()
public Writer getWriter()
public Document asDocument()
public String asString()
public File asFile()
Copyright © 2017. All rights reserved.