java.lang.Object
org.jhotdraw8.xml.converter.UrlXmlConverter
XmlUrlConverter.
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable URLfromString(CharBuffer in, @Nullable IdResolver idResolver) @Nullable URLvoidtoString(Appendable out, @Nullable IdSupplier idSupplier, @Nullable URL 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, fromStringNonNull, fromStringNonNull, fromStringNonNull, fromStringNonNull, getHelpText, needsIdResolver, toString, toString, toString
-
Constructor Details
-
UrlXmlConverter
public UrlXmlConverter()
-
-
Method Details
-
toString
public void toString(Appendable out, @Nullable IdSupplier idSupplier, @Nullable URL value) throws IOException - Specified by:
toStringin interfaceConverter<URL>- Throws:
IOException
-
fromString
public @Nullable URL fromString(CharBuffer in, @Nullable IdResolver idResolver) throws ParseException - Specified by:
fromStringin interfaceConverter<URL>- Throws:
ParseException
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceConverter<URL>
-