Interface ListHandler

  • All Known Implementing Classes:
    ListBuilder

    public interface ListHandler
    Interface that defines the functionnality of a list handler for the parser of attributes that are list. The attribute parser should use this interface in order to create the list representing the values of the attribute.
    Version:
    $Id: ListHandler.java 1733416 2016-03-03 07:07:13Z gadams $
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void endList()
      Indicates that the parser ends generating the list
      void item​(SVGItem item)
      Indicates a new item to add to the list.
      void startList()
      Indicates that the parser starts generating the list
    • Method Detail

      • startList

        void startList()
        Indicates that the parser starts generating the list
      • item

        void item​(SVGItem item)
        Indicates a new item to add to the list.
        Parameters:
        item - the new item to be added
      • endList

        void endList()
        Indicates that the parser ends generating the list