Class FXPathXmlConverter

java.lang.Object
org.jhotdraw8.draw.xml.converter.FXPathXmlConverter
All Implemented Interfaces:
org.jhotdraw8.base.converter.Converter<javafx.scene.shape.Path>

public class FXPathXmlConverter extends Object implements org.jhotdraw8.base.converter.Converter<javafx.scene.shape.Path>
Converts a list of PathElement from/to an XML attribute text.
Author:
Werner Randelshofer
  • Constructor Details

    • FXPathXmlConverter

      public FXPathXmlConverter()
  • Method Details

    • fromString

      public @Nullable javafx.scene.shape.Path fromString(@NonNull CharBuffer buf, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) throws ParseException
      Specified by:
      fromString in interface org.jhotdraw8.base.converter.Converter<javafx.scene.shape.Path>
      Throws:
      ParseException
    • toString

      public <TT extends javafx.scene.shape.Path> void toString(Appendable out, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @Nullable TT value) throws IOException
      Specified by:
      toString in interface org.jhotdraw8.base.converter.Converter<javafx.scene.shape.Path>
      Throws:
      IOException
    • getDefaultValue

      public @Nullable javafx.scene.shape.Path getDefaultValue()
      Specified by:
      getDefaultValue in interface org.jhotdraw8.base.converter.Converter<javafx.scene.shape.Path>