com.atlassian.studio.jira.importer.impl.license
Class LicenseStateIterableXStreamRestSerializer

java.lang.Object
  extended by com.atlassian.studio.jira.importer.impl.util.XStreamRestConverterTemplate<Iterable<LicenseState>>
      extended by com.atlassian.studio.jira.importer.impl.license.LicenseStateIterableXStreamRestSerializer
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher, javax.ws.rs.ext.MessageBodyReader<Iterable<LicenseState>>, javax.ws.rs.ext.MessageBodyWriter<Iterable<LicenseState>>

@Provider
public class LicenseStateIterableXStreamRestSerializer
extends XStreamRestConverterTemplate<Iterable<LicenseState>>


Constructor Summary
LicenseStateIterableXStreamRestSerializer()
           
 
Method Summary
 com.thoughtworks.xstream.converters.Converter[] getAdditionalConverters()
           
protected  String getRootElementName()
           
protected  void serialize(Iterable<LicenseState> licenseStates, com.thoughtworks.xstream.io.HierarchicalStreamWriter writer, com.thoughtworks.xstream.converters.MarshallingContext context)
           
 
Methods inherited from class com.atlassian.studio.jira.importer.impl.util.XStreamRestConverterTemplate
canConvert, createXStream, deserialize, getEncoding, getSize, isReadable, isWriteable, marshal, readFrom, unmarshal, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseStateIterableXStreamRestSerializer

public LicenseStateIterableXStreamRestSerializer()
Method Detail

getRootElementName

protected String getRootElementName()
Specified by:
getRootElementName in class XStreamRestConverterTemplate<Iterable<LicenseState>>

getAdditionalConverters

public com.thoughtworks.xstream.converters.Converter[] getAdditionalConverters()
Overrides:
getAdditionalConverters in class XStreamRestConverterTemplate<Iterable<LicenseState>>

serialize

protected void serialize(Iterable<LicenseState> licenseStates,
                         com.thoughtworks.xstream.io.HierarchicalStreamWriter writer,
                         com.thoughtworks.xstream.converters.MarshallingContext context)
Overrides:
serialize in class XStreamRestConverterTemplate<Iterable<LicenseState>>


Copyright © 2002-2012 Atlassian. All Rights Reserved.