com.atlassian.bamboo.migration
Class SMOutputElementAppender

java.lang.Object
  extended by com.atlassian.bamboo.migration.SMOutputElementAppender

public class SMOutputElementAppender
extends Object


Constructor Summary
SMOutputElementAppender(org.codehaus.staxmate.out.SMOutputElement outputElement)
           
 
Method Summary
 SMOutputElementAppender append(String elementName, boolean value)
           
 SMOutputElementAppender append(String elementName, com.atlassian.core.bean.EntityObject entityObject)
           
 SMOutputElementAppender append(String elementName, Enum value)
           
 SMOutputElementAppender append(String elementName, int value)
           
 SMOutputElementAppender append(String elementName, Key key)
           
 SMOutputElementAppender append(String elementName, long value)
           
 SMOutputElementAppender append(String elementName, ResultKey resultKey)
           
 SMOutputElementAppender append(String elementName, String value)
           
 SMOutputElementAppender appendCData(String elementName, String value)
           
 SMOutputElementAppender appendIfNotBlank(String elementName, String value)
           
 SMOutputElementAppender appendIfNotEqual(String elementName, String value, String defaultValue)
           
 SMOutputElementAppender appendIfNotNull(String elementName, Date value)
           
 SMOutputElementAppender appendIfNotNull(String elementName, Date value, TimeZone timeZone)
           
 SMOutputElementAppender appendIfNotNull(String elementName, Number value)
           
<T extends Enum<T>>
SMOutputElementAppender
appendIfNotNull(String elementName, T value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMOutputElementAppender

public SMOutputElementAppender(org.codehaus.staxmate.out.SMOutputElement outputElement)
Method Detail

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              String elementName,
                                              @NotNull
                                              String value)
                               throws XMLStreamException
Throws:
XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              String elementName,
                                              boolean value)
                               throws XMLStreamException
Throws:
XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              String elementName,
                                              int value)
                               throws XMLStreamException
Throws:
XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              String elementName,
                                              long value)
                               throws XMLStreamException
Throws:
XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              String elementName,
                                              @Nullable
                                              com.atlassian.core.bean.EntityObject entityObject)
                               throws XMLStreamException
Throws:
XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              String elementName,
                                              @Nullable
                                              Key key)
                               throws XMLStreamException
Throws:
XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              String elementName,
                                              @Nullable
                                              ResultKey resultKey)
                               throws XMLStreamException
Throws:
XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              String elementName,
                                              @Nullable
                                              Enum value)
                               throws XMLStreamException
Throws:
XMLStreamException

appendIfNotBlank

@NotNull
public SMOutputElementAppender appendIfNotBlank(@NotNull
                                                        String elementName,
                                                        @Nullable
                                                        String value)
                                         throws XMLStreamException
Throws:
XMLStreamException

appendIfNotEqual

@NotNull
public SMOutputElementAppender appendIfNotEqual(@NotNull
                                                        String elementName,
                                                        String value,
                                                        String defaultValue)
                                         throws XMLStreamException
Throws:
XMLStreamException

appendIfNotNull

@NotNull
public <T extends Enum<T>> SMOutputElementAppender appendIfNotNull(@NotNull
                                                                           String elementName,
                                                                           @Nullable
                                                                           T value)
                                        throws XMLStreamException
Throws:
XMLStreamException

appendIfNotNull

@NotNull
public SMOutputElementAppender appendIfNotNull(@NotNull
                                                       String elementName,
                                                       @Nullable
                                                       Date value)
                                        throws XMLStreamException
Throws:
XMLStreamException

appendIfNotNull

@NotNull
public SMOutputElementAppender appendIfNotNull(@NotNull
                                                       String elementName,
                                                       @Nullable
                                                       Date value,
                                                       @NotNull
                                                       TimeZone timeZone)
                                        throws XMLStreamException
Throws:
XMLStreamException

appendIfNotNull

@NotNull
public SMOutputElementAppender appendIfNotNull(@NotNull
                                                       String elementName,
                                                       @Nullable
                                                       Number value)
                                        throws XMLStreamException
Throws:
XMLStreamException

appendCData

@NotNull
public SMOutputElementAppender appendCData(@NotNull
                                                   String elementName,
                                                   @Nullable
                                                   String value)
                                    throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.