Class SvgPathXmlConverter

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

public class SvgPathXmlConverter extends Object implements org.jhotdraw8.base.converter.Converter<javafx.scene.shape.SVGPath>
Converts an SVGPath from/to an XML attribute text.
Author:
Werner Randelshofer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable javafx.scene.shape.SVGPath
    fromString(CharBuffer buf, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver)
     
    @Nullable javafx.scene.shape.SVGPath
     
    void
    toString(Appendable out, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @Nullable javafx.scene.shape.SVGPath value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jhotdraw8.base.converter.Converter

    fromString, fromString, fromString, fromStringNonNull, fromStringNonNull, fromStringNonNull, fromStringNonNull, getHelpText, needsIdResolver, toString, toString, toString
  • Constructor Details

    • SvgPathXmlConverter

      public SvgPathXmlConverter()
  • Method Details

    • fromString

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

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

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