Class NamedEntityAdapter<T>

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<Element,NamedEntity<T>>
com.atlassian.bamboo.rest.adapter.NamedEntityAdapter<T>
Direct Known Subclasses:
BitbucketNodeEntityAdapter, FieldErrorsEntityAdapter

public abstract class NamedEntityAdapter<T> extends javax.xml.bind.annotation.adapters.XmlAdapter<Element,NamedEntity<T>>
Used for creating XML in form of:
     
         
     
 
which is particularly useful when you're supposed to marshall/unmarshall lists formatted like:
     
         
             
             
         
         
             
             
         
     
 
For more explanation see UT for NamedEntity class.
  • Constructor Details

    • NamedEntityAdapter

      public NamedEntityAdapter()
  • Method Details