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

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

@Provider
public class LicenseStateXStreamRestSerializer
extends XStreamRestConverterTemplate<LicenseState>


Constructor Summary
LicenseStateXStreamRestSerializer()
           
LicenseStateXStreamRestSerializer(boolean nested)
           
 
Method Summary
protected  String getRootElementName()
           
 void serialize(LicenseState source, 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, getAdditionalConverters, 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

LicenseStateXStreamRestSerializer

public LicenseStateXStreamRestSerializer()

LicenseStateXStreamRestSerializer

public LicenseStateXStreamRestSerializer(boolean nested)
Method Detail

serialize

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

getRootElementName

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


Copyright © 2002-2012 Atlassian. All Rights Reserved.