Class FXPathElementsXmlConverter

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable ImmutableList<javafx.scene.shape.PathElement>
    fromString(CharBuffer buf, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver)
     
    @Nullable ImmutableList<javafx.scene.shape.PathElement>
     
    <TT extends ImmutableList<javafx.scene.shape.PathElement>>
    void
    toString(Appendable out, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @Nullable TT 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

    • FXPathElementsXmlConverter

      public FXPathElementsXmlConverter()
  • Method Details

    • fromString

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

      public <TT extends ImmutableList<javafx.scene.shape.PathElement>> 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<ImmutableList<javafx.scene.shape.PathElement>>
      Throws:
      IOException
    • getDefaultValue

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