java.lang.Object
org.jhotdraw8.xml.converter.StringXmlConverter
Converts a
String into the XML String representation.
Reference: W3C: XML Schema Part 2: Datatypes Second Edition: 3.2.5 string
- Author:
- Werner Randelshofer
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance.StringXmlConverter(boolean nullable) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionfromString(@NonNull CharBuffer in, @Nullable IdResolver idResolver) voidtoString(@NonNull Appendable buf, @Nullable IdSupplier idSupplier, String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.base.converter.Converter
fromString, fromString, fromString, getHelpText, needsIdResolver, toString, toString, toString
-
Constructor Details
-
StringXmlConverter
public StringXmlConverter()Creates a new instance. -
StringXmlConverter
public StringXmlConverter(boolean nullable) Creates a new instance.
-
-
Method Details
-
toString
public void toString(@NonNull Appendable buf, @Nullable IdSupplier idSupplier, String value) throws IOException - Specified by:
toStringin interfaceConverter<String>- Throws:
IOException
-
fromString
- Specified by:
fromStringin interfaceConverter<String>
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceConverter<String>
-