- All Implemented Interfaces:
org.simpleframework.xml.convert.Converter<String>
public class StringConverter
extends Object
implements org.simpleframework.xml.convert.Converter<String>
XML converter for string due to SimpleXML limitation in converting empty element like
to empty string.
-
Constructor Summary
Constructors
-
Method Summary
read(org.simpleframework.xml.stream.InputNode node)
void
write(org.simpleframework.xml.stream.OutputNode node,
String value)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StringConverter
public StringConverter()
-
Method Details
-
-
write
public void write(org.simpleframework.xml.stream.OutputNode node,
String value)
throws Exception
- Specified by:
write in interface org.simpleframework.xml.convert.Converter<String>
- Throws:
Exception