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