public final class DefaultXmlConverter extends Object implements XmlConverter
Constructor and Description |
---|
DefaultXmlConverter(JiraProperties properties,
JiraHome jiraHome,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
Object |
fromXml(String xml)
Serializes object to xml.
|
String |
toXml(Object obj)
Serializes object to xml.
|
public DefaultXmlConverter(JiraProperties properties, JiraHome jiraHome, FeatureManager featureManager)
public String toXml(@Nullable Object obj)
XmlConverter
toXml
in interface XmlConverter
obj
- instance of any class. Can be null.public Object fromXml(@Nullable String xml)
XmlConverter
fromXml
in interface XmlConverter
xml
- java object serialized to xml. Can be null.Copyright © 2002-2022 Atlassian. All Rights Reserved.