Package sonia.scm.xml
Class XmlArrayStringAdapter
public class XmlArrayStringAdapter
extends jakarta.xml.bind.annotation.adapters.XmlAdapter<String,String[]>
Converts a string to a string array and vice versa. The string is divided by
a comma.
- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
XmlArrayStringAdapter
public XmlArrayStringAdapter()
-
-
Method Details
-
marshal
Converts the array to a single string divided by commas. -
unmarshal
Splits the string to a array of strings.
-