Package com.atlassian.bamboo.migration
Class MapperTestUtils
- java.lang.Object
-
- com.atlassian.bamboo.migration.MapperTestUtils
-
public class MapperTestUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description MapperTestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull org.codehaus.staxmate.out.SMOutputDocumentcreateOutputDocument(@NotNull File outputFile)static @NotNull org.codehaus.staxmate.in.SMInputCursorgetElementCursor(@NotNull Object object, @NotNull String resourceName, @NotNull String expectedListNode)Caller should close the input stream by calling .getStreamReader().closeCompletely() on returned valuestatic @NotNull org.codehaus.staxmate.in.SMInputCursorgetRootCursor(@NotNull File inputFile)Caller should close the input stream by calling .getStreamReader().closeCompletely() on returned valuestatic @NotNull org.codehaus.staxmate.in.SMInputCursorgetRootCursor(@NotNull InputStream inputStream)Caller should close the input stream by calling .getStreamReader().closeCompletely() on returned valuestatic @NotNull org.codehaus.staxmate.in.SMInputCursorgetRootCursor(@NotNull Object object, @NotNull String resourceName)Caller should close the input stream by calling .getStreamReader().closeCompletely() on returned value
-
-
-
Method Detail
-
getRootCursor
@NotNull public static @NotNull org.codehaus.staxmate.in.SMInputCursor getRootCursor(@NotNull @NotNull Object object, @NotNull @NotNull String resourceName) throws XMLStreamException, IOExceptionCaller should close the input stream by calling .getStreamReader().closeCompletely() on returned value- Throws:
XMLStreamExceptionIOException
-
getElementCursor
@NotNull public static @NotNull org.codehaus.staxmate.in.SMInputCursor getElementCursor(@NotNull @NotNull Object object, @NotNull @NotNull String resourceName, @NotNull @NotNull String expectedListNode) throws XMLStreamException, IOExceptionCaller should close the input stream by calling .getStreamReader().closeCompletely() on returned value- Throws:
XMLStreamExceptionIOException
-
getRootCursor
@NotNull public static @NotNull org.codehaus.staxmate.in.SMInputCursor getRootCursor(@NotNull @NotNull File inputFile) throws XMLStreamException, IOExceptionCaller should close the input stream by calling .getStreamReader().closeCompletely() on returned value- Throws:
XMLStreamExceptionIOException
-
getRootCursor
@NotNull public static @NotNull org.codehaus.staxmate.in.SMInputCursor getRootCursor(@NotNull @NotNull InputStream inputStream) throws XMLStreamExceptionCaller should close the input stream by calling .getStreamReader().closeCompletely() on returned value- Throws:
XMLStreamException
-
createOutputDocument
@NotNull public static @NotNull org.codehaus.staxmate.out.SMOutputDocument createOutputDocument(@NotNull @NotNull File outputFile) throws XMLStreamException- Throws:
XMLStreamException
-
-