com.atlassian.bamboo.migration
Class SMOutputElementAppender

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

public class SMOutputElementAppender
extends java.lang.Object


Constructor Summary
SMOutputElementAppender(org.codehaus.staxmate.out.SMOutputElement outputElement)
           
 
Method Summary
 SMOutputElementAppender append(java.lang.String elementName, boolean value)
           
 SMOutputElementAppender append(java.lang.String elementName, com.atlassian.core.bean.EntityObject entityObject)
           
 SMOutputElementAppender append(java.lang.String elementName, int value)
           
 SMOutputElementAppender append(java.lang.String elementName, long value)
           
 SMOutputElementAppender append(java.lang.String elementName, java.lang.String value)
           
 SMOutputElementAppender appendCData(java.lang.String elementName, java.lang.String value)
           
 SMOutputElementAppender appendIfNotBlank(java.lang.String elementName, java.lang.String value)
           
 SMOutputElementAppender appendIfNotEqual(java.lang.String elementName, java.lang.String value, java.lang.String defaultValue)
           
 SMOutputElementAppender appendIfNotNull(java.lang.String elementName, java.util.Date value)
           
 SMOutputElementAppender appendIfNotNull(java.lang.String elementName, java.lang.Number value)
           
<T extends java.lang.Enum<T>>
SMOutputElementAppender
appendIfNotNull(java.lang.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
                                              java.lang.String elementName,
                                              @NotNull
                                              java.lang.String value)
                               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              java.lang.String elementName,
                                              boolean value)
                               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              java.lang.String elementName,
                                              int value)
                               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

append

@NotNull
public SMOutputElementAppender append(@NotNull
                                              java.lang.String elementName,
                                              long value)
                               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

append

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

appendIfNotBlank

@NotNull
public SMOutputElementAppender appendIfNotBlank(@NotNull
                                                        java.lang.String elementName,
                                                        java.lang.String value)
                                         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

appendIfNotEqual

@NotNull
public SMOutputElementAppender appendIfNotEqual(@NotNull
                                                        java.lang.String elementName,
                                                        java.lang.String value,
                                                        java.lang.String defaultValue)
                                         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

appendIfNotNull

@NotNull
public <T extends java.lang.Enum<T>> SMOutputElementAppender appendIfNotNull(@NotNull
                                                                                     java.lang.String elementName,
                                                                                     T value)
                                        throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

appendIfNotNull

@NotNull
public SMOutputElementAppender appendIfNotNull(@NotNull
                                                       java.lang.String elementName,
                                                       java.util.Date value)
                                        throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

appendIfNotNull

@NotNull
public SMOutputElementAppender appendIfNotNull(@NotNull
                                                       java.lang.String elementName,
                                                       java.lang.Number value)
                                        throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

appendCData

@NotNull
public SMOutputElementAppender appendCData(@NotNull
                                                   java.lang.String elementName,
                                                   @Nullable
                                                   java.lang.String value)
                                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2012 Atlassian. All Rights Reserved.