Package com.atlassian.bamboo.migration
Class SMOutputElementAppender
java.lang.Object
com.atlassian.bamboo.migration.SMOutputElementAppender
-
Constructor Summary
ConstructorsConstructorDescriptionSMOutputElementAppender(org.codehaus.staxmate.out.SMOutputElement outputElement) -
Method Summary
Modifier and TypeMethodDescription@NotNull SMOutputElementAppender@NotNull SMOutputElementAppender@NotNull SMOutputElementAppender@NotNull SMOutputElementAppender@NotNull SMOutputElementAppender@NotNull SMOutputElementAppender@NotNull SMOutputElementAppender@NotNull SMOutputElementAppender@NotNull SMOutputElementAppenderappendAsStringIfNotNull(@NotNull String elementName, @Nullable Object value) @NotNull SMOutputElementAppenderappendCData(@NotNull String elementName, @Nullable String value) @NotNull SMOutputElementAppenderappendIfNotBlank(@NotNull String elementName, @Nullable String value) @NotNull SMOutputElementAppenderappendIfNotEqual(@NotNull String elementName, String value, String defaultValue) @NotNull SMOutputElementAppenderappendIfNotNull(@NotNull String elementName, @Nullable Number value) @NotNull SMOutputElementAppenderappendIfNotNull(@NotNull String elementName, @Nullable Date value) @NotNull SMOutputElementAppenderappendIfNotNull(@NotNull String elementName, @Nullable Date value, @NotNull TimeZone timeZone) <T extends Enum<T>>
@NotNull SMOutputElementAppenderappendIfNotNull(@NotNull String elementName, T value)
-
Constructor Details
-
SMOutputElementAppender
public SMOutputElementAppender(org.codehaus.staxmate.out.SMOutputElement outputElement)
-
-
Method Details
-
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
-
appendAsStringIfNotNull
@NotNull public @NotNull SMOutputElementAppender appendAsStringIfNotNull(@NotNull @NotNull String elementName, @Nullable @Nullable Object 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
-