Package com.atlassian.bamboo.migration
Class SMOutputElementAppender
- java.lang.Object
-
- com.atlassian.bamboo.migration.SMOutputElementAppender
-
public class SMOutputElementAppender extends Object
-
-
Constructor Summary
Constructors Constructor Description SMOutputElementAppender(org.codehaus.staxmate.out.SMOutputElement outputElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull SMOutputElementAppender
append(@NotNull String elementName, boolean value)
@NotNull SMOutputElementAppender
append(@NotNull String elementName, int value)
@NotNull SMOutputElementAppender
append(@NotNull String elementName, long value)
@NotNull SMOutputElementAppender
append(@NotNull String elementName, @NotNull String value)
@NotNull SMOutputElementAppender
append(@NotNull String elementName, @Nullable Key key)
@NotNull SMOutputElementAppender
append(@NotNull String elementName, @Nullable ResultKey resultKey)
@NotNull SMOutputElementAppender
append(@NotNull String elementName, @Nullable com.atlassian.core.bean.EntityObject entityObject)
@NotNull SMOutputElementAppender
append(@NotNull String elementName, @Nullable Enum value)
@NotNull SMOutputElementAppender
appendCData(@NotNull String elementName, @Nullable String value)
@NotNull SMOutputElementAppender
appendIfNotBlank(@NotNull String elementName, @Nullable String value)
@NotNull SMOutputElementAppender
appendIfNotEqual(@NotNull String elementName, String value, String defaultValue)
@NotNull SMOutputElementAppender
appendIfNotNull(@NotNull String elementName, @Nullable Number value)
@NotNull SMOutputElementAppender
appendIfNotNull(@NotNull String elementName, @Nullable Date value)
@NotNull SMOutputElementAppender
appendIfNotNull(@NotNull String elementName, @Nullable Date value, @NotNull TimeZone timeZone)
<T extends Enum<T>>
@NotNull SMOutputElementAppenderappendIfNotNull(@NotNull String elementName, T value)
-
-
-
Method Detail
-
append
@NotNull public @NotNull SMOutputElementAppender append(@NotNull @NotNull String elementName, @NotNull @NotNull String value) throws XMLStreamException
- Throws:
XMLStreamException
-
append
@NotNull public @NotNull SMOutputElementAppender append(@NotNull @NotNull String elementName, boolean value) throws XMLStreamException
- Throws:
XMLStreamException
-
append
@NotNull public @NotNull SMOutputElementAppender append(@NotNull @NotNull String elementName, int value) throws XMLStreamException
- Throws:
XMLStreamException
-
append
@NotNull public @NotNull SMOutputElementAppender append(@NotNull @NotNull String elementName, long value) throws XMLStreamException
- Throws:
XMLStreamException
-
append
@NotNull public @NotNull SMOutputElementAppender append(@NotNull @NotNull String elementName, @Nullable @Nullable com.atlassian.core.bean.EntityObject entityObject) throws XMLStreamException
- Throws:
XMLStreamException
-
append
@NotNull public @NotNull SMOutputElementAppender append(@NotNull @NotNull String elementName, @Nullable @Nullable Key key) throws XMLStreamException
- Throws:
XMLStreamException
-
append
@NotNull public @NotNull SMOutputElementAppender append(@NotNull @NotNull String elementName, @Nullable @Nullable ResultKey resultKey) throws XMLStreamException
- Throws:
XMLStreamException
-
append
@NotNull public @NotNull SMOutputElementAppender append(@NotNull @NotNull String elementName, @Nullable @Nullable Enum value) throws XMLStreamException
- Throws:
XMLStreamException
-
appendIfNotBlank
@NotNull public @NotNull SMOutputElementAppender appendIfNotBlank(@NotNull @NotNull String elementName, @Nullable @Nullable String value) throws XMLStreamException
- Throws:
XMLStreamException
-
appendIfNotEqual
@NotNull public @NotNull SMOutputElementAppender appendIfNotEqual(@NotNull @NotNull String elementName, String value, String defaultValue) throws XMLStreamException
- Throws:
XMLStreamException
-
appendIfNotNull
@NotNull public <T extends Enum<T>> @NotNull SMOutputElementAppender appendIfNotNull(@NotNull @NotNull String elementName, @Nullable T value) throws XMLStreamException
- Throws:
XMLStreamException
-
appendIfNotNull
@NotNull public @NotNull SMOutputElementAppender appendIfNotNull(@NotNull @NotNull String elementName, @Nullable @Nullable Date value) throws XMLStreamException
- Throws:
XMLStreamException
-
appendIfNotNull
@NotNull public @NotNull SMOutputElementAppender appendIfNotNull(@NotNull @NotNull String elementName, @Nullable @Nullable Date value, @NotNull @NotNull TimeZone timeZone) throws XMLStreamException
- Throws:
XMLStreamException
-
appendIfNotNull
@NotNull public @NotNull SMOutputElementAppender appendIfNotNull(@NotNull @NotNull String elementName, @Nullable @Nullable Number value) throws XMLStreamException
- Throws:
XMLStreamException
-
appendCData
@NotNull public @NotNull SMOutputElementAppender appendCData(@NotNull @NotNull String elementName, @Nullable @Nullable String value) throws XMLStreamException
- Throws:
XMLStreamException
-
-