public class MapperTestUtils extends Object
Constructor and Description |
---|
MapperTestUtils() |
Modifier and Type | Method and Description |
---|---|
static org.codehaus.staxmate.out.SMOutputDocument |
createOutputDocument(File outputFile) |
static org.codehaus.staxmate.in.SMInputCursor |
getElementCursor(Object object,
String resourceName,
String expectedListNode)
Caller should close the input stream by calling .getStreamReader().closeCompletely() on returned value
|
static org.codehaus.staxmate.in.SMInputCursor |
getRootCursor(File inputFile)
Caller should close the input stream by calling .getStreamReader().closeCompletely() on returned value
|
static org.codehaus.staxmate.in.SMInputCursor |
getRootCursor(InputStream inputStream)
Caller should close the input stream by calling .getStreamReader().closeCompletely() on returned value
|
static org.codehaus.staxmate.in.SMInputCursor |
getRootCursor(Object object,
String resourceName)
Caller should close the input stream by calling .getStreamReader().closeCompletely() on returned value
|
@NotNull public static org.codehaus.staxmate.in.SMInputCursor getRootCursor(@NotNull Object object, @NotNull String resourceName) throws XMLStreamException, IOException
XMLStreamException
IOException
@NotNull public static org.codehaus.staxmate.in.SMInputCursor getElementCursor(@NotNull Object object, @NotNull String resourceName, @NotNull String expectedListNode) throws XMLStreamException, IOException
XMLStreamException
IOException
@NotNull public static org.codehaus.staxmate.in.SMInputCursor getRootCursor(@NotNull File inputFile) throws XMLStreamException, IOException
XMLStreamException
IOException
@NotNull public static org.codehaus.staxmate.in.SMInputCursor getRootCursor(@NotNull InputStream inputStream) throws XMLStreamException
XMLStreamException
@NotNull public static org.codehaus.staxmate.out.SMOutputDocument createOutputDocument(@NotNull File outputFile) throws XMLStreamException
XMLStreamException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.