Module org.jhotdraw8.draw
Package org.jhotdraw8.draw.xml.converter
Class PathConnectionBezierPathXmlConverter
java.lang.Object
org.jhotdraw8.draw.xml.converter.BezierPathXmlConverter
org.jhotdraw8.draw.xml.converter.PathConnectionBezierPathXmlConverter
- All Implemented Interfaces:
org.jhotdraw8.base.converter.Converter<BezierPath>
Converts an BezierNodeList path to an XML attribute value.
The null value will be converted to an empty String.
If the path is a straight line, it will be converted to an empty String.
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<TT extends BezierPath>
voidtoString(Appendable out, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @Nullable TT value) Methods inherited from class org.jhotdraw8.draw.xml.converter.BezierPathXmlConverter
fromString, getDefaultValueMethods 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
-
PathConnectionBezierPathXmlConverter
public PathConnectionBezierPathXmlConverter()
-
-
Method Details
-
toString
public <TT extends BezierPath> void toString(Appendable out, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @Nullable TT value) throws IOException - Specified by:
toStringin interfaceorg.jhotdraw8.base.converter.Converter<BezierPath>- Overrides:
toStringin classBezierPathXmlConverter- Throws:
IOException
-